Free the source list, not just it's contents (Patch from Charles Kerr,

Mon Apr 21 18:29:03 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
        the source list, not just it's contents (Patch
        from Charles Kerr, #108243)
This commit is contained in:
Owen Taylor 2003-04-21 22:33:03 +00:00 committed by Owen Taylor
parent 355a5ee8ab
commit e97e0e5435
6 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Mon Apr 21 18:29:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
the source list, not just it's contents (Patch
from Charles Kerr, #108243)
Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com> Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch

View File

@ -1,3 +1,9 @@
Mon Apr 21 18:29:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
the source list, not just it's contents (Patch
from Charles Kerr, #108243)
Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com> Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch

View File

@ -1,3 +1,9 @@
Mon Apr 21 18:29:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
the source list, not just it's contents (Patch
from Charles Kerr, #108243)
Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com> Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch

View File

@ -1,3 +1,9 @@
Mon Apr 21 18:29:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
the source list, not just it's contents (Patch
from Charles Kerr, #108243)
Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com> Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch

View File

@ -1,3 +1,9 @@
Mon Apr 21 18:29:03 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
the source list, not just it's contents (Patch
from Charles Kerr, #108243)
Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com> Mon Apr 21 18:13:46 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch

View File

@ -1562,6 +1562,7 @@ gtk_icon_set_unref (GtkIconSet *icon_set)
tmp_list = g_slist_next (tmp_list); tmp_list = g_slist_next (tmp_list);
} }
g_slist_free (icon_set->sources);
clear_cache (icon_set, TRUE); clear_cache (icon_set, TRUE);