shell32: Fix a memory leak in the tests.
Found by Valgrind.
This commit is contained in:
parent
d83cf1af0f
commit
7078cfa76b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue