d3d9/tests: Release the query in test_occlusion_query_states().
This commit is contained in:
parent
6cc2f9573a
commit
ad05c39fd7
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue