diff options
author | Paolo Borelli <pborelli@gnome.org> | 2012-01-14 11:52:48 +0100 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2012-01-14 11:52:48 +0100 |
commit | 9ad78370eb3cd29613b7491bb363f6d395f155d0 (patch) | |
tree | 5828a96b28cce79159780299cdbf0fac12c4a77a /gtk/gtkcssimageurl.c | |
parent | e0efeba27e5ab7f72901d4e46630cc2d8b68b18d (diff) | |
download | gtk+-9ad78370eb3cd29613b7491bb363f6d395f155d0.tar.gz |
Destroy cairo context after painting css image url
Diffstat (limited to 'gtk/gtkcssimageurl.c')
-rw-r--r-- | gtk/gtkcssimageurl.c | 1 |
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; |