mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[SHELL32_APITEST] Fix PIDL leaks.
This commit is contained in:
@@ -205,7 +205,7 @@ VOID TestInitialize(_In_ IShellFolder *psf)
|
||||
//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);
|
||||
ok(pidl->mkid.cb == 0, "expected empty pidl got cb = %x\n", pidl->mkid.cb);
|
||||
|
||||
Reference in New Issue
Block a user