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

shell32/tests: Fixed some leaks (Valgrind).

parent 3cbd598e
......@@ -638,6 +638,8 @@ static void test_items(void)
SysFreeString(name);
SysFreeString(bstr);
FolderItem_Release(item);
item = NULL;
r = FolderItems_Item(items, str_index, &item);
ok(r == S_OK, "file_defs[%d]: FolderItems::Item failed: %08x\n", i, r);
......@@ -1403,6 +1405,7 @@ static void test_ShellExecute(void)
ok(hr == S_OK, "ShellExecute failed: %08x\n", hr);
SysFreeString(name);
IShellDispatch2_Release(sd);
}
START_TEST(shelldispatch)
......
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