From e479bd43211a455cf6f1338376132442172c0280 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 5 Oct 2005 14:11:23 +0000 Subject: Readd the memory leak fix, since the assertion failures were traced to an 2005-10-05 Matthias Clasen * gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory leak fix, since the assertion failures were traced to an xchat bug. (#314696) --- gtk/gtkrc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkrc.c') diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index ee0899d3e6..f13886395e 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1336,7 +1336,10 @@ gtk_rc_clear_realized_style (gpointer key, gpointer data) { GSList *rc_styles = key; + GtkStyle *style = value; GSList *tmp_list = rc_styles; + + g_object_unref (style); while (tmp_list) { -- cgit v1.2.1