From 7078cfa76bf6f9aeec663b02cc050c607074da8c Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 16 Dec 2009 10:21:55 +0000 Subject: [PATCH] shell32: Fix a memory leak in the tests. Found by Valgrind. --- dlls/shell32/tests/shlfolder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index e3bf1917bee..31ae05a6ce5 100644 --- a/dlls/shell32/tests/shlfolder.c +++ b/dlls/shell32/tests/shlfolder.c @@ -586,6 +586,7 @@ static void test_GetDisplayName(void) ok (!lstrcmpiW(wszTestFile, wszTestFile2), "GetDisplayNameOf returns incorrect path!\n"); } + ILFree(pidlTestFile); IShellFolder_Release(psfDesktop); IShellFolder_Release(psfPersonal); } -- 2.11.4.GIT