Nikolay Sivov : shell32/tests: Fix Verbs instance leak (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jun 4 09:32:02 CDT 2015


Module: wine
Branch: master
Commit: 98da69a83f504097d10f78414368f6edbeff8e49
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=98da69a83f504097d10f78414368f6edbeff8e49

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Jun  3 23:08:08 2015 +0300

shell32/tests: Fix Verbs instance leak (Valgrind).

---

 dlls/shell32/tests/shelldispatch.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index f9d92ee..492d446 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -822,6 +822,7 @@ if (0) { /* crashes on winxp/win2k3 */
     ok(hr == S_OK, "got 0x%08x\n", hr);
     ok(verb == NULL, "got %p\n", verb);
 
+    FolderItemVerbs_Release(verbs);
     FolderItem_Release(item);
     IShellDispatch_Release(sd);
 }




More information about the wine-cvs mailing list