Commit fdd01144 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix memory leak (Valgrind).

parent 27048ce1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment