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

oldstable
Nikolay Sivov 2011-01-18 22:37:14 +03:00 committed by Alexandre Julliard
parent 9d15067c25
commit cc1dc2e693
1 changed files with 1 additions and 0 deletions

View File

@ -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");