Nikolay Sivov : d2d1/tests: Fix stroke style object leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Tue Jul 11 15:59:31 CDT 2017
Module: wine
Branch: master
Commit: d6e2a6f370b50df06ec5957226f637e40d049527
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6e2a6f370b50df06ec5957226f637e40d049527
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Jul 11 11:36:02 2017 +0300
d2d1/tests: Fix stroke style object leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d2d1/tests/d2d1.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c
index e0318ce..e9e73d8 100644
--- a/dlls/d2d1/tests/d2d1.c
+++ b/dlls/d2d1/tests/d2d1.c
@@ -4440,6 +4440,8 @@ static void test_stroke_style(void)
desc.dashStyle = D2D1_DASH_STYLE_CUSTOM;
desc.dashOffset = 0.0f;
+ ID2D1StrokeStyle_Release(style);
+
hr = ID2D1Factory_CreateStrokeStyle(factory, &desc, NULL, 0, &style);
ok(hr == E_INVALIDARG, "Unexpected return value, %#x.\n", hr);
More information about the wine-cvs
mailing list