crypt32: Remove redundant NULL check before CryptMemFree (Smatch).

This commit is contained in:
Michael Stefaniuc 2010-09-28 22:44:02 +02:00 committed by Alexandre Julliard
parent 9addae9d66
commit ef24756291
1 changed files with 3 additions and 4 deletions

View File

@ -523,10 +523,9 @@ BOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,
}
else
ret = FALSE;
if (crlBlob)
CryptMemFree(crlBlob);
if (certBlob)
CryptMemFree(certBlob);
CryptMemFree(crlBlob);
CryptMemFree(certBlob);
if (freeProv)
CryptReleaseContext(hCryptProv, 0);
return ret;