jscript: Don't double free IObjectWithSite interface.

This commit is contained in:
Alistair Leslie-Hughes 2011-12-20 14:49:57 +11:00 committed by Alexandre Julliard
parent 54b24f3926
commit 1a9d9e0f76

View file

@ -130,7 +130,6 @@ static IUnknown *create_activex_object(script_ctx_t *ctx, const WCHAR *progid)
}
IObjectWithSite_Release(obj_site);
if(!ax_site || FAILED(hres)) {
IObjectWithSite_Release(obj_site);
IUnknown_Release(obj);
return NULL;
}