mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 01:01:08 +00:00
Merge pull request #2868 from k-stachowiak/fix-resource-leak-in-ssl-example
Fix potential resource leak in sslserver2 example
This commit is contained in:
commit
ed7b8b73ad
|
@ -721,6 +721,7 @@ static int nss_keylog_export( void *p_expkey,
|
|||
if( fwrite( nss_keylog_line, 1, len, f ) != len )
|
||||
{
|
||||
ret = -1;
|
||||
fclose( f );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue