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

This commit is contained in:
Henri Verbeet 2009-06-23 09:05:31 +02:00 committed by Alexandre Julliard
parent 6cc2f9573a
commit ad05c39fd7
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}