From ff090f749d735fb85651f5ff9ff9da576c3cace6 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 11 Sep 2011 19:23:00 +0400 Subject: [PATCH] shell32: Fix pidl leak (Valgrind). --- dlls/shell32/shlview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index eee447e266a..3f182566087 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -752,6 +752,7 @@ static LRESULT ShellView_OnCreate(IShellViewImpl *This) This->hNotify = SHChangeNotifyRegister(This->hWnd, SHCNRF_InterruptLevel, SHCNE_ALLEVENTS, SHV_CHANGE_NOTIFY, 1, &ntreg); SHFree((LPITEMIDLIST)ntreg.pidl); + SHFree(computer_pidl); } IPersistFolder2_Release(ppf2); }