From 990854d0198e8fd654aed67d86342f66e666d390 Mon Sep 17 00:00:00 2001 From: Johan Bilien Date: Sun, 7 Nov 2010 09:52:11 -0500 Subject: [PATCH] Fixed a bogus call to cairo_destroy --- clients/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/image.c b/clients/image.c index d9e0c3e..cf98266 100644 --- a/clients/image.c +++ b/clients/image.c @@ -162,7 +162,7 @@ image_draw(struct image *image) rectangle.width, rectangle.height); - cairo_destroy(wsurface); + cairo_surface_destroy(wsurface); cr = cairo_create(surface); cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); cairo_set_source_rgba(cr, 0, 0, 0, 1); -- 2.7.4