[SHELL32_APITEST] Fix PIDL leaks.

This commit is contained in:
Thomas Faber
2019-09-10 12:12:02 +02:00
parent d41c5be3bd
commit cf2b918e0f
3 changed files with 3 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ VOID TestInitialize(_In_ IShellFolder2 *psf2)
//hr = ppf2->GetCurFolder(NULL);
//ok(hr == E_INVALIDARG, "hr = %lx\n", hr);
LPITEMIDLIST pidl;
CComHeapPtr<ITEMIDLIST> pidl;
hr = ppf2->GetCurFolder(&pidl);
ok(hr == S_OK, "hr = %lx\n", hr);
// 0 in win10, 14 in xp