From 32e831b9046d7ac7eb1ba59079023d82a4c92331 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 25 Jun 2015 14:04:02 +0000 Subject: [PATCH] [SHELL32] - Fix shell folder reference leak in _OpenDirectory. CORE-9867 svn path=/trunk/; revision=68263 --- reactos/dll/win32/shell32/wine/changenotify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/dll/win32/shell32/wine/changenotify.c b/reactos/dll/win32/shell32/wine/changenotify.c index 15354a822e4..9d2a2ef983a 100644 --- a/reactos/dll/win32/shell32/wine/changenotify.c +++ b/reactos/dll/win32/shell32/wine/changenotify.c @@ -634,6 +634,7 @@ BOOL _OpenDirectory(LPNOTIFYREGISTER item) return FALSE; hr = IShellFolder_GetDisplayNameOf(psfDesktop, item->pidl, SHGDN_FORPARSING, &strFile); + IShellFolder_Release(psfDesktop); if (!SUCCEEDED(hr)) return FALSE;