Commit b46b7517 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Close source file when releasing EnumObject.

parent 35cc5504
......@@ -1740,7 +1740,10 @@ static ULONG WINAPI IDirectXFileEnumObjectImpl_Release(IDirectXFileEnumObject* i
TRACE("(%p/%p): ReleaseRef to %d\n", iface, This, ref);
if (!ref)
{
CloseHandle(This->hFile);
HeapFree(GetProcessHeap(), 0, 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