From db5e3f4a0589ba12cd48ba2209753482a345e973 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sat, 5 Dec 2009 21:50:50 +0300 Subject: [PATCH] gdiplus/tests: Free brush pointer after test. --- dlls/gdiplus/tests/brush.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/gdiplus/tests/brush.c b/dlls/gdiplus/tests/brush.c index cf9461189b8..0ee4dd485a2 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)