Commit 7078cfa7 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

shell32: Fix a memory leak in the tests.

Found by Valgrind.
parent d83cf1af
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment