Nikolay Sivov : shell32: Fix pidl leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Sep 12 11:42:56 CDT 2011
Module: wine
Branch: master
Commit: ff090f749d735fb85651f5ff9ff9da576c3cace6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff090f749d735fb85651f5ff9ff9da576c3cace6
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun Sep 11 19:23:00 2011 +0400
shell32: Fix pidl leak (Valgrind).
---
dlls/shell32/shlview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c
index eee447e..3f18256 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);
}
More information about the wine-cvs
mailing list