[PATCH] d3drm/tests: Fix a leak in tests (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Wed Jul 19 06:39:51 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/d3drm/tests/d3drm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/d3drm/tests/d3drm.c b/dlls/d3drm/tests/d3drm.c
index 1ab81e41af..5bd6e5e285 100644
--- a/dlls/d3drm/tests/d3drm.c
+++ b/dlls/d3drm/tests/d3drm.c
@@ -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)
--
2.13.2
More information about the wine-patches
mailing list