Skip to content

Commit

Permalink
Free cairo_patterns used for scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
vilhalmer committed Nov 3, 2020
1 parent bd05bbb commit d6f195a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions animation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit d6f195a

Please sign in to comment.