mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:35:28 +00:00
Fix potential resource leak in sslserver2 example
This commit is contained in:
parent
d1798b4f91
commit
bbc1c699fc
|
@ -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