Commit dee361e3 authored by Morten Welinder's avatar Morten Welinder
Browse files

Leaks!

parent 4c5e47c7
1999-09-23 Morten Welinder <terra@diku.dk>
* src/widgets/widget-color-combo.c (color_clicked): Plug leak.
(color_combo_select_color): Plug leak.
(emit_change): Plug leak.
1999-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/widgets/widget-color-combo.c (color_combo_new): Install the
......
1999-09-23 Morten Welinder <terra@diku.dk>
* src/widgets/widget-color-combo.c (color_clicked): Plug leak.
(color_combo_select_color): Plug leak.
(emit_change): Plug leak.
1999-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/widgets/widget-color-combo.c (color_combo_new): Install the
......
......@@ -95,6 +95,7 @@ color_clicked (GtkWidget *button, ColorCombo *combo)
NULL);
gtk_combo_box_popup_hide (GTK_COMBO_BOX (combo));
g_free (gdk_color);
}
static GtkWidget *
......@@ -177,6 +178,9 @@ emit_change (GtkWidget *button, ColorCombo *cc)
gtk_signal_emit (
GTK_OBJECT (cc), color_combo_signals [CHANGED], color, cc->last_index);
if (color)
g_free (color);
}
static void
......@@ -356,4 +360,5 @@ color_combo_select_color (ColorCombo *cc, int idx)
cc->preview_color_item,
"fill_color_gdk", color,
NULL);
g_free (color);
}
......@@ -95,6 +95,7 @@ color_clicked (GtkWidget *button, ColorCombo *combo)
NULL);
gtk_combo_box_popup_hide (GTK_COMBO_BOX (combo));
g_free (gdk_color);
}
static GtkWidget *
......@@ -177,6 +178,9 @@ emit_change (GtkWidget *button, ColorCombo *cc)
gtk_signal_emit (
GTK_OBJECT (cc), color_combo_signals [CHANGED], color, cc->last_index);
if (color)
g_free (color);
}
static void
......@@ -356,4 +360,5 @@ color_combo_select_color (ColorCombo *cc, int idx)
cc->preview_color_item,
"fill_color_gdk", color,
NULL);
g_free (color);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment