From 73696a26a93262056b83c16976e0770519c623bb Mon Sep 17 00:00:00 2001 From: marco candrian Date: Sun, 17 Feb 2008 06:13:26 +0100 Subject: [PATCH] cairo_destroy() added (at least partly related to: FS#68 - awesome eats cpu time) Signed-off-by: Julien Danjou --- common/draw.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.11.4.GIT