[PATCH 3/4] Fix a PIDL leak in tests (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Tue Jan 18 13:37:14 CST 2011
---
dlls/shell32/tests/shelllink.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index f213221..f754efd 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -911,6 +911,7 @@ static void test_GetIconLocation(void)
pidl = path_to_pidl(mypath);
r = IShellLinkA_SetIDList(sl, pidl);
ok(r == S_OK, "SetPath failed (0x%08x)\n", r);
+ pILFree(pidl);
i = 0xdeadbeef;
strcpy(buffer, "garbage");
--
1.5.6.5
--------------010303010002070601000407--
More information about the wine-patches
mailing list