Sven Baars : shell32: Fix an item identifier list leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Fri May 31 15:53:32 CDT 2019


Module: wine
Branch: master
Commit: 0d0fa46553e17efd6f72b25aad3563e8c60b365d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0d0fa46553e17efd6f72b25aad3563e8c60b365d

Author: Sven Baars <sven.wine at gmail.com>
Date:   Fri May 31 20:15:44 2019 +0200

shell32: Fix an item identifier list leak (Valgrind).

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/brsfolder.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c
index 37363a1..d71ec62 100644
--- a/dlls/shell32/brsfolder.c
+++ b/dlls/shell32/brsfolder.c
@@ -783,6 +783,8 @@ static BOOL BrsFolder_OnCreate( HWND hWnd, browse_info *info )
 
     browsefolder_callback( info->lpBrowseInfo, hWnd, BFFM_INITIALIZED, 0 );
 
+    ILFree(computer_pidl);
+
     return TRUE;
 }
 




More information about the wine-cvs mailing list