Module: wine Branch: master Commit: 7078cfa76bf6f9aeec663b02cc050c607074da8c URL: http://source.winehq.org/git/wine.git/?a=commit;h=7078cfa76bf6f9aeec663b02cc...
Author: Huw Davies huw@codeweavers.com Date: Wed Dec 16 10:21:55 2009 +0000
shell32: Fix a memory leak in the tests.
Found by Valgrind.
---
dlls/shell32/tests/shlfolder.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index e3bf191..31ae05a 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); }