shell32: Fix a memory leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-16 10:21:55 +00:00 committed by Alexandre Julliard
parent d83cf1af0f
commit 7078cfa76b
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}