summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r--gtk/gtkcolorsel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index 891f7ce6c..64be1c05b 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -676,6 +676,8 @@ get_focus_gc (GtkWidget *drawing_area,
if (dash_list[0])
gdk_gc_set_dashes (gc, 0, dash_list, strlen (dash_list));
+ g_free (dash_list);
+
return gc;
}