mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Added missing free()
(cherry picked from commit ff3a4b010b24c0293c3cefc1c8582b23775e1870)
This commit is contained in:
parent
9bcf16c55d
commit
cf445ffc4e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue