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 New Issue