Added missing free()

(cherry picked from commit ff3a4b010b)
This commit is contained in:
Paul Bakker 2013-06-24 19:31:41 +02:00
parent 9bcf16c55d
commit cf445ffc4e

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
}