scrrun: Fix file object leak on destruction.

This commit is contained in:
Dmitry Timoshkov 2014-01-30 14:20:03 +09:00 committed by Alexandre Julliard
parent e526f120a9
commit 5a14d9e1e3
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}