shell32/tests: Fix a PIDL leak in tests (Valgrind).
This commit is contained in:
parent
9d15067c25
commit
cc1dc2e693
@ -911,6 +911,7 @@ static void test_GetIconLocation(void)
|
|||||||
pidl = path_to_pidl(mypath);
|
pidl = path_to_pidl(mypath);
|
||||||
r = IShellLinkA_SetIDList(sl, pidl);
|
r = IShellLinkA_SetIDList(sl, pidl);
|
||||||
ok(r == S_OK, "SetPath failed (0x%08x)\n", r);
|
ok(r == S_OK, "SetPath failed (0x%08x)\n", r);
|
||||||
|
pILFree(pidl);
|
||||||
|
|
||||||
i = 0xdeadbeef;
|
i = 0xdeadbeef;
|
||||||
strcpy(buffer, "garbage");
|
strcpy(buffer, "garbage");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user