small fix in filedlg.c

Rein Klazes rklazes at xs4all.nl
Sat Mar 20 00:59:50 CST 2004


Hi,

Changelog:
	dlls/commdlg	: filedlg.c
	Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/dlls/commdlg/filedlg.c	2004-02-10 10:25:22.000000000 +0100
+++ mywine/dlls/commdlg/filedlg.c	2004-03-20 07:48:37.000000000 +0100
@@ -2366,9 +2366,9 @@
       }
       IEnumIDList_Release(lpeRoot);
     }
+    IShellFolder_Release(psfRoot);
   }
 
-  IShellFolder_Release(psfRoot);
   COMDLG32_SHFree(pidlDrives);
   return NOERROR;
 }


More information about the wine-patches mailing list