If there is no psInfo, it doesn't need to be cleaned up.
This commit is contained in:
parent
63e8517a9b
commit
a77f8d374c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue