summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimage.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-02-17 15:08:02 +0100
committerTimm Bäder <mail@baedert.org>2017-02-17 18:23:10 +0100
commit848d55a187e585a6392ebdd7ba41c2bd1db054e0 (patch)
tree69e8e494298d620a23891b695932af75b9b45efe /gtk/gtkcssimage.c
parent2786d52ab603c4d4f2ce3156fc2d9d084bfbe72f (diff)
downloadgtk+-848d55a187e585a6392ebdd7ba41c2bd1db054e0.tar.gz
cssimage: Plug a small memory leak
Diffstat (limited to 'gtk/gtkcssimage.c')
-rw-r--r--gtk/gtkcssimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssimage.c b/gtk/gtkcssimage.c
index bcf22f8ce4..60a3f49cfa 100644
--- a/gtk/gtkcssimage.c
+++ b/gtk/gtkcssimage.c
@@ -116,6 +116,8 @@ gtk_css_image_real_draw (GtkCssImage *image,
gsk_render_node_draw (node, cr);
gsk_render_node_unref (node);
}
+
+ cairo_region_destroy (clip);
}
static void