mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:41:41 +00:00
crypt32: Fix memory leak (Valgrind).
This commit is contained in:
parent
27048ce116
commit
fdd0114407
|
@ -1599,6 +1599,7 @@ static BOOL WINAPI CRYPT_ExportKeyTrans(
|
|||
CryptDestroyKey(expKey);
|
||||
}
|
||||
|
||||
CryptMemFree(keyInfo.PublicKey.pbData);
|
||||
CryptMemFree(keyInfo.Algorithm.pszObjId);
|
||||
CryptMemFree(keyInfo.Algorithm.Parameters.pbData);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue