From a56d40f490e910ee3daa95dcbb17610bfa057267 Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Sat, 20 Mar 2004 19:22:17 +0000 Subject: [PATCH] Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. --- dlls/commdlg/filedlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/commdlg/filedlg.c b/dlls/commdlg/filedlg.c index 8049ad26d45..b4d33ad4afe 100644 --- a/dlls/commdlg/filedlg.c +++ b/dlls/commdlg/filedlg.c @@ -2366,9 +2366,9 @@ static HRESULT FILEDLG95_LOOKIN_Init(HWND hwndCombo) } IEnumIDList_Release(lpeRoot); } + IShellFolder_Release(psfRoot); } - IShellFolder_Release(psfRoot); COMDLG32_SHFree(pidlDrives); return NOERROR; }