diff --git a/common/draw.c b/common/draw.c index bc079da0..a29209f9 100644 --- a/common/draw.c +++ b/common/draw.c @@ -433,6 +433,7 @@ void draw_image_from_argb_data(DrawCtx *ctx, int x, int y, int w, int h, cairo_paint(cr); + cairo_destroy(cr); cairo_surface_destroy(source); }