Nikolay Sivov : gdiplus/tests: Free brush pointer after test.
Module: wine Branch: master Commit: db5e3f4a0589ba12cd48ba2209753482a345e973 URL: http://source.winehq.org/git/wine.git/?a=commit;h=db5e3f4a0589ba12cd48ba2209... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Sat Dec 5 21:50:50 2009 +0300 gdiplus/tests: Free brush pointer after test. --- 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)
participants (1)
-
Alexandre Julliard