gdiplus/tests: Free brush pointer after test.

This commit is contained in:
Nikolay Sivov 2009-12-05 21:50:50 +03:00 committed by Alexandre Julliard
parent 7d6412c82d
commit db5e3f4a05
1 changed files with 3 additions and 0 deletions

View File

@ -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)