gdiplus: Free memory after some GraphicsPath tests.
This commit is contained in:
parent
6e37ec6bc3
commit
ac23eb7939
|
@ -214,6 +214,8 @@ static void test_line2(void)
|
|||
expect(Ok, status);
|
||||
|
||||
ok_path(path, line2_path, sizeof(line2_path)/sizeof(path_test_t), FALSE);
|
||||
|
||||
GdipDeletePath(path);
|
||||
}
|
||||
|
||||
static path_test_t arc_path[] = {
|
||||
|
@ -283,6 +285,8 @@ static void test_arc(void)
|
|||
expect(Ok, status);
|
||||
|
||||
ok_path(path, arc_path, sizeof(arc_path)/sizeof(path_test_t), FALSE);
|
||||
|
||||
GdipDeletePath(path);
|
||||
}
|
||||
|
||||
static void test_worldbounds(void)
|
||||
|
|
Loading…
Reference in New Issue