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:
Jaeden Amero 2019-11-22 09:57:32 +00:00 committed by GitHub
commit ed7b8b73ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}