Commit 2b8d9764 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wintrust: Remove redundant not-NULL checks (coccinellery).

parent e4f66b04
...@@ -309,13 +309,11 @@ static LONG WINTRUST_DefaultVerify(HWND hwnd, GUID *actionID, ...@@ -309,13 +309,11 @@ static LONG WINTRUST_DefaultVerify(HWND hwnd, GUID *actionID,
goto done; goto done;
error: error:
if (provData) WINTRUST_Free(provData->padwTrustStepErrors);
{ WINTRUST_Free(provData->u.pPDSip);
WINTRUST_Free(provData->padwTrustStepErrors); WINTRUST_Free(provData->psPfns);
WINTRUST_Free(provData->u.pPDSip); WINTRUST_Free(provData);
WINTRUST_Free(provData->psPfns);
WINTRUST_Free(provData);
}
done: done:
TRACE("returning %08x\n", err); TRACE("returning %08x\n", err);
return err; return err;
...@@ -502,13 +500,11 @@ static LONG WINTRUST_CertVerify(HWND hwnd, GUID *actionID, ...@@ -502,13 +500,11 @@ static LONG WINTRUST_CertVerify(HWND hwnd, GUID *actionID,
goto done; goto done;
error: error:
if (provData) WINTRUST_Free(provData->padwTrustStepErrors);
{ WINTRUST_Free(provData->u.pPDSip);
WINTRUST_Free(provData->padwTrustStepErrors); WINTRUST_Free(provData->psPfns);
WINTRUST_Free(provData->u.pPDSip); WINTRUST_Free(provData);
WINTRUST_Free(provData->psPfns);
WINTRUST_Free(provData);
}
done: done:
TRACE("returning %08x\n", err); TRACE("returning %08x\n", err);
return err; return err;
......
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