shell32/tests: Release the IAutoComplete interface on a failure path.

This commit is contained in:
Andrew Nguyen 2011-02-01 04:16:02 -06:00 committed by Alexandre Julliard
parent 73ef76538c
commit 13b834561b
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ static IAutoComplete *test_init(void)
if (r == REGDB_E_CLASSNOTREG)
{
win_skip("CLSID_ACLMulti is not registered\n");
IAutoComplete_Release(ac);
return NULL;
}
ok(r == S_OK, "no IID_IACList (0x%08x)\n", r);