Commit ef247562 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 9addae9d
...@@ -523,10 +523,9 @@ BOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara, ...@@ -523,10 +523,9 @@ BOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,
} }
else else
ret = FALSE; ret = FALSE;
if (crlBlob)
CryptMemFree(crlBlob); CryptMemFree(crlBlob);
if (certBlob) CryptMemFree(certBlob);
CryptMemFree(certBlob);
if (freeProv) if (freeProv)
CryptReleaseContext(hCryptProv, 0); CryptReleaseContext(hCryptProv, 0);
return ret; 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