Author: tfaber
Date: Thu Jun 25 12:51:38 2015
New Revision: 68260
URL:
http://svn.reactos.org/svn/reactos?rev=68260&view=rev
Log:
[SHELL32]
- Fix shell folder reference leak in SHGetFileInfoW
CORE-9867
Modified:
trunk/reactos/dll/win32/shell32/wine/shell32_main.c
Modified: trunk/reactos/dll/win32/shell32/wine/shell32_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/she…
==============================================================================
--- trunk/reactos/dll/win32/shell32/wine/shell32_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/wine/shell32_main.c [iso-8859-1] Thu Jun 25 12:51:38
2015
@@ -723,6 +723,9 @@
if (flags & ~SHGFI_KNOWN_FLAGS)
FIXME("unknown flags %08x\n", flags & ~SHGFI_KNOWN_FLAGS);
+ if (psfParent)
+ IShellFolder_Release(psfParent);
+
if (hr != S_OK)
ret = FALSE;