d2d1/tests: Fix stroke style object leak (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
9fe40c24f8
commit
d6e2a6f370
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue