Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/scrobj/scrobj.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/scrobj/scrobj.c b/dlls/scrobj/scrobj.c index 7f93c146b96..dbae210e889 100644 --- a/dlls/scrobj/scrobj.c +++ b/dlls/scrobj/scrobj.c @@ -1883,10 +1883,7 @@ static HRESULT create_scriptlet_factory(const WCHAR *url, struct scriptlet_facto TRACE("%s\n", debugstr_w(url));
if (!(factory = calloc(1, sizeof(*factory)))) - { - IClassFactory_Release(&factory->IClassFactory_iface); return E_OUTOFMEMORY; - }
factory->IClassFactory_iface.lpVtbl = &scriptlet_factory_vtbl; factory->ref = 1;