Signed-off-by: Zebediah Figura z.figura12@gmail.com --- dlls/ddraw/device.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c index 03b03f4584..7fd78e6234 100644 --- a/dlls/ddraw/device.c +++ b/dlls/ddraw/device.c @@ -245,6 +245,7 @@ static ULONG WINAPI d3d_device_inner_Release(IUnknown *iface)
wined3d_device_set_rendertarget_view(This->wined3d_device, 0, NULL, FALSE);
+ wined3d_stateblock_decref(This->state); if (This->recording) wined3d_stateblock_decref(This->recording);