Added missing free()

(cherry picked from commit ff3a4b010b)
This commit is contained in:
Paul Bakker 2013-06-19 12:11:20 +02:00
parent 03437fc198
commit a465d758aa

View file

@ -330,6 +330,7 @@ int pem_read_buffer( pem_context *ctx, char *header, char *footer, const unsigne
return( POLARSSL_ERR_PEM_PASSWORD_MISMATCH );
}
#else
free( buf );
return( POLARSSL_ERR_PEM_FEATURE_UNAVAILABLE );
#endif
}