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:
Nikolay Sivov 2017-07-19 14:39:51 +03:00 committed by Alexandre Julliard
parent 9d04fd1415
commit b3a6debd4f
1 changed files with 2 additions and 0 deletions

View File

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