From 81eb827c98fa7a5016f802e92b2d9148a572f62c Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 16 Oct 2017 16:03:43 +0300 Subject: [PATCH] qedit/tests: Fix some leaks in tests (Valgrind). Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/qedit/tests/timeline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/qedit/tests/timeline.c b/dlls/qedit/tests/timeline.c index b1011fc6610..94c018e0fb5 100644 --- a/dlls/qedit/tests/timeline.c +++ b/dlls/qedit/tests/timeline.c @@ -106,6 +106,9 @@ static void test_timeline(void) hr = IAMTimelineObj_GetTimelineNoRef(obj, &timeline2); ok(hr == E_NOINTERFACE, "Expected E_NOINTERFACE got %08x\n", hr); ok(!timeline2, "Expected NULL got %p\n", timeline2); + + IAMTimelineObj_Release(obj); + IAMTimeline_Release(timeline); } static void test_timelineobj_interfaces(void) -- 2.11.4.GIT