From: Johan Bilien Date: Sun, 7 Nov 2010 14:52:11 +0000 (-0500) Subject: Fixed a bogus call to cairo_destroy X-Git-Tag: 0.85.0~392 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=990854d0198e8fd654aed67d86342f66e666d390;p=platform%2Fupstream%2Fwayland.git Fixed a bogus call to cairo_destroy --- 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);