Close file handle correctly. (#5310)

This commit is contained in:
cerg2010cerg2010
2019-03-18 16:57:00 +03:00
committed by akallabeth
parent 88b7859c87
commit 7abc86ffae

View File

@@ -444,7 +444,7 @@ BOOL certificate_data_replace(rdpCertificateStore* certificate_store,
if (!data)
{
fclose(fp);
CloseHandle(fp);
return FALSE;
}