diff --git a/animation.c b/animation.c index 50f3d58..e53f48f 100644 --- a/animation.c +++ b/animation.c @@ -117,6 +117,7 @@ static void scale_image_onto( cairo_pattern_set_filter(pattern, filter); cairo_set_source(cairo, pattern); cairo_paint(cairo); + cairo_pattern_destroy(pattern); cairo_restore(cairo); }