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

d3d9/tests: Release the query in test_occlusion_query_states().

parent 6cc2f957
......@@ -228,6 +228,7 @@ static void test_occlusion_query_states(IDirect3D9 *pD3d, HWND hwnd)
cleanup:
HeapFree(GetProcessHeap(), 0, data);
if (pQuery) IDirect3DQuery9_Release(pQuery);
if(pDevice) IDirect3DDevice9_Release(pDevice);
}
......
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