d3drm/tests: Fix a leak in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9d04fd1415
commit
b3a6debd4f
|
@ -1504,6 +1504,8 @@ static void test_destroy_callback(unsigned int test_idx, REFCLSID clsid, REFIID
|
|||
"Expected callback = %p, context = %p. Got callback = %p, context = %p.\n", d3drm_corder[i].callback,
|
||||
d3drm_corder[i].context, corder[i].callback, corder[i].context);
|
||||
}
|
||||
|
||||
IDirect3DRM_Release(d3drm);
|
||||
}
|
||||
|
||||
static void test_object(void)
|
||||
|
|
Loading…
Reference in New Issue