shell32/tests: Release the IAutoComplete interface on a failure path.
This commit is contained in:
parent
73ef76538c
commit
13b834561b
|
@ -55,6 +55,7 @@ static IAutoComplete *test_init(void)
|
||||||
if (r == REGDB_E_CLASSNOTREG)
|
if (r == REGDB_E_CLASSNOTREG)
|
||||||
{
|
{
|
||||||
win_skip("CLSID_ACLMulti is not registered\n");
|
win_skip("CLSID_ACLMulti is not registered\n");
|
||||||
|
IAutoComplete_Release(ac);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ok(r == S_OK, "no IID_IACList (0x%08x)\n", r);
|
ok(r == S_OK, "no IID_IACList (0x%08x)\n", r);
|
||||||
|
|
Loading…
Reference in New Issue