mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-07 23:18:59 +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 );
|
return( POLARSSL_ERR_PEM_PASSWORD_MISMATCH );
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
free( buf );
|
||||||
return( POLARSSL_ERR_PEM_FEATURE_UNAVAILABLE );
|
return( POLARSSL_ERR_PEM_FEATURE_UNAVAILABLE );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue