[PATCH 6/9] Free brush pointer after test
Nikolay Sivov
bunglehead at gmail.com
Sat Dec 5 12:50:50 CST 2009
---
dlls/gdiplus/tests/brush.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/brush.c b/dlls/gdiplus/tests/brush.c
index cf94611..0ee4dd4 100644
--- a/dlls/gdiplus/tests/brush.c
+++ b/dlls/gdiplus/tests/brush.c
@@ -641,6 +641,9 @@ static void test_linelinearblend(void)
expectf(0.0, res_positions[0]);
expectf(0.8, res_factors[1]);
expectf(1.0, res_positions[1]);
+
+ status = GdipDeleteBrush((GpBrush*)brush);
+ expect(Ok, status);
}
START_TEST(brush)
--
1.5.6.5
--=-EQID9fd2Zh2P4MhKVHrG--
More information about the wine-patches
mailing list