https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d41c5be3bd961f69b3ea40b27565870972968b4e

commit d41c5be3bd961f69b3ea40b27565870972968b4e
Author:     Thomas Faber <[email protected]>
AuthorDate: Tue Sep 10 12:11:34 2019 +0200
Commit:     Thomas Faber <[email protected]>
CommitDate: Sun Sep 22 11:42:06 2019 +0200

    [BROWSEUI] Fix a PIDL leak.
---
 dll/win32/browseui/explorerband.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dll/win32/browseui/explorerband.cpp 
b/dll/win32/browseui/explorerband.cpp
index 741960c1d11..76bd7aa939c 100644
--- a/dll/win32/browseui/explorerband.cpp
+++ b/dll/win32/browseui/explorerband.cpp
@@ -1350,6 +1350,7 @@ HRESULT STDMETHODCALLTYPE CExplorerBand::OnWinEvent(HWND 
hWnd, UINT uMsg, WPARAM
                         // Navigate to our new location
                         UpdateBrowser(pidlNewAbs);
 
+                        ILFree(pidlParent);
                         ILFree(pidlNewAbs);
                         ILFree(pidlNew);
                         if (theResult)

Reply via email to