Commit cc1dc2e6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

shell32/tests: Fix a PIDL leak in tests (Valgrind).

parent 9d15067c
......@@ -911,6 +911,7 @@ static void test_GetIconLocation(void)
pidl = path_to_pidl(mypath);
r = IShellLinkA_SetIDList(sl, pidl);
ok(r == S_OK, "SetPath failed (0x%08x)\n", r);
pILFree(pidl);
i = 0xdeadbeef;
strcpy(buffer, "garbage");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment