diff options
Diffstat (limited to 'testart.c')
-rw-r--r-- | testart.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -228,6 +228,7 @@ make_testpat (void) art_free (vpath3); #else svp2 = art_svp_from_vpath (vpath2); + art_free (vpath2); #endif #if 1 @@ -361,6 +362,7 @@ test_dist (void) 4, 0.5); #endif + art_free (vpath); art_rgb_svp_aa (svp, 0, 0, 512, 512, 0xffe0a0, 0x100040, @@ -431,10 +433,12 @@ test_render_gradient (art_u8 *buf) vpath = randstar (50); svp = art_svp_from_vpath (vpath); + art_free (vpath); render = art_render_new (0, 0, 512, 512, buf, 512 * 3, 3, 8, ART_ALPHA_NONE, NULL); art_render_svp (render, svp); + art_svp_free (svp); art_render_gradient_linear (render, &gradient, ART_FILTER_NEAREST); art_render_invoke (render); @@ -467,6 +471,7 @@ test_render_rad_gradient (art_u8 *buf) vpath = randstar (50); svp = art_svp_from_vpath (vpath); + art_free (vpath); render = art_render_new (0, 0, 512, 512, buf, 512 * 3, 3, 8, ART_ALPHA_NONE, NULL); @@ -489,6 +494,7 @@ test_gradient (void) vpath = randstar (50); svp = art_svp_from_vpath (vpath); + art_free (vpath); for (i = 0; i < n_iter; i++) { |