Commit dc0310c0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Release the device reference in d3d10_stateblock_Release().

parent fa942235
......@@ -274,6 +274,7 @@ static ULONG STDMETHODCALLTYPE d3d10_stateblock_Release(ID3D10StateBlock *iface)
if (!refcount)
{
stateblock_cleanup(stateblock);
ID3D10Device_Release(stateblock->device);
HeapFree(GetProcessHeap(), 0, stateblock);
}
......
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