crypt32: Fix memory leak (Valgrind).

oldstable
Juan Lang 2011-01-17 18:25:05 -08:00 committed by Alexandre Julliard
parent 27048ce116
commit fdd0114407
1 changed files with 1 additions and 0 deletions

View File

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