browseui: Fix two memory leaks in the autocomplete tests.

This commit is contained in:
James Hawkins 2010-01-06 18:27:01 -08:00 committed by Alexandre Julliard
parent b2d1c3eeec
commit 5324cb6135
1 changed files with 3 additions and 0 deletions

View File

@ -321,6 +321,9 @@ static void test_ACLMulti(void)
ok(mgr->lpVtbl->Release(mgr) == 0, "Unexpected references\n"); ok(mgr->lpVtbl->Release(mgr) == 0, "Unexpected references\n");
ok(acl1->ref == 1, "acl1 not released\n"); ok(acl1->ref == 1, "acl1 not released\n");
ok(acl2->ref == 1, "acl2 not released\n"); ok(acl2->ref == 1, "acl2 not released\n");
CoTaskMemFree(acl1);
CoTaskMemFree(acl2);
} }
START_TEST(autocomplete) START_TEST(autocomplete)