diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c index eb4e9a1d569..c8455551fa4 100644 --- a/dlls/comctl32/propsheet.c +++ b/dlls/comctl32/propsheet.c @@ -1907,6 +1907,7 @@ static void PROPSHEET_CleanUp(HWND hwndDlg) PropSheetInfoStr); TRACE("\n"); + if (!psInfo) return; if (HIWORD(psInfo->ppshheader.pszCaption)) HeapFree(GetProcessHeap(), 0, (LPVOID)psInfo->ppshheader.pszCaption);