Sven Baars : shell32/tests: Fix a memory leak (Valgrind).

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


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

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

shell32/tests: Fix a memory leak (Valgrind).

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

---

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

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index beee31f..87e9141 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -3856,6 +3856,8 @@ static void test_ShellItemArrayEnumItems(void)
         for(i = 0; i < done; i++)
             ILFree(apidl[i]);
     }
+
+    IShellFolder_Release(psf);
 }
 
 




More information about the wine-cvs mailing list