Commit 5a14d9e1 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

scrrun: Fix file object leak on destruction.

parent e526f120
......@@ -1522,7 +1522,10 @@ static ULONG WINAPI file_Release(IFile *iface)
TRACE("(%p) ref=%d\n", This, ref);
if(!ref)
{
heap_free(This->path);
heap_free(This);
}
return ref;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment