Nikolay Sivov : shell32/tests: Fix some leaks (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Dec 17 15:36:39 CST 2018


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Dec 17 08:16:10 2018 +0300

shell32/tests: Fix some leaks (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.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 bb303f6..beee31f 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -5165,6 +5165,8 @@ static void test_GetDefaultColumn(void)
         hr = IShellFolder2_GetDefaultColumn(folder, 0, &sort, NULL);
         ok(hr == E_NOTIMPL, "Unexpected hr %#x.\n", hr);
         ok(sort == 123, "Unexpected default column.\n");
+
+        IShellFolder2_Release(folder);
     }
 
     CoUninitialize();




More information about the wine-cvs mailing list