summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkcssimageurl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssimageurl.c b/gtk/gtkcssimageurl.c
index 8bfd70861a..2f1cca9a47 100644
--- a/gtk/gtkcssimageurl.c
+++ b/gtk/gtkcssimageurl.c
@@ -92,6 +92,7 @@ gtk_css_image_url_parse (GtkCssImage *image,
cr = cairo_create (url->surface);
gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0);
cairo_paint (cr);
+ cairo_destroy (cr);
g_object_unref (pixbuf);
return TRUE;