scrrun: Fix file object leak on destruction.
This commit is contained in:
parent
e526f120a9
commit
5a14d9e1e3
|
@ -1522,7 +1522,10 @@ static ULONG WINAPI file_Release(IFile *iface)
|
||||||
TRACE("(%p) ref=%d\n", This, ref);
|
TRACE("(%p) ref=%d\n", This, ref);
|
||||||
|
|
||||||
if(!ref)
|
if(!ref)
|
||||||
|
{
|
||||||
heap_free(This->path);
|
heap_free(This->path);
|
||||||
|
heap_free(This);
|
||||||
|
}
|
||||||
|
|
||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue