diff options
author | Anders Carlsson <andersca@gnu.org> | 2002-01-03 00:30:39 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2002-01-03 00:30:39 +0000 |
commit | a11baab148e120df14d60d53cfb4fe0fa16b2745 (patch) | |
tree | cd9e07852d23f56274d4ca406b95da5bce0b4077 /gtk/gtkcolorsel.c | |
parent | 88edb0e58ef4dc63ae089f0aeeeff9d7800e52da (diff) | |
download | gdk-pixbuf-a11baab148e120df14d60d53cfb4fe0fa16b2745.tar.gz |
Free dash list if necessary.
2002-01-03 Anders Carlsson <andersca@gnu.org>
* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
necessary.
* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.
* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.
* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
if it's NULL.
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r-- | gtk/gtkcolorsel.c | 2 |
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; } |