shell32: Fix pidl leak (Valgrind).

This commit is contained in:
Nikolay Sivov 2011-09-11 19:23:00 +04:00 committed by Alexandre Julliard
parent d029a33453
commit ff090f749d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}