diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-10-05 14:11:23 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-10-05 14:11:23 +0000 |
commit | e479bd43211a455cf6f1338376132442172c0280 (patch) | |
tree | 40fca336fc2b0a568c7976dfc14c6823fadf9f06 /gtk/gtkrc.c | |
parent | b24876a79ce8909036f76b5a66a7db88fbab8e41 (diff) | |
download | gtk+-e479bd43211a455cf6f1338376132442172c0280.tar.gz |
Readd the memory leak fix, since the assertion failures were traced to an
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory
leak fix, since the assertion failures were traced to
an xchat bug. (#314696)
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r-- | gtk/gtkrc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |