summaryrefslogtreecommitdiff
path: root/src/gsm_color_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm_color_button.c')
-rw-r--r--src/gsm_color_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm_color_button.c b/src/gsm_color_button.c
index e8eb320..0d69889 100644
--- a/src/gsm_color_button.c
+++ b/src/gsm_color_button.c
@@ -251,7 +251,7 @@ fill_image_buffer_from_file (cairo_t *cr, const char *filePath)
tmp_cr = cairo_create (tmp_surface);
rsvg_handle_render_cairo (handle, tmp_cr);
cairo_destroy (tmp_cr);
- rsvg_handle_free (handle);
+ g_object_unref (handle);
return tmp_surface;
}