Commit 890c3fd0 authored by Rhys McGuckin's avatar Rhys McGuckin Committed by Alexandre Julliard

wintrust: Check for null CleanupPolicy function pointer.

parent 4c6d2b01
......@@ -151,7 +151,9 @@ static LONG WINTRUST_DefaultClose(HWND hwnd, GUID *actionID,
if (provData)
{
err = provData->psPfns->pfnCleanupPolicy(provData);
if (provData->psPfns->pfnCleanupPolicy)
err = provData->psPfns->pfnCleanupPolicy(provData);
WINTRUST_Free(provData->padwTrustStepErrors);
WINTRUST_Free(provData->u.pPDSip);
WINTRUST_Free(provData->psPfns);
......
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