summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-04-28 14:41:04 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-04-28 14:41:04 +0000
commitb72dfb8c4e8d0b3f12a17ff423178eaf44b3c6b5 (patch)
treef324144858f45361c8969ed96bec9bdc2d0d3b4d /gdk/win32
parentd69030de81d1a136cccbbeaaf76601f7ecfe1414 (diff)
downloadgtk+-b72dfb8c4e8d0b3f12a17ff423178eaf44b3c6b5.tar.gz
Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515,
2007-04-28 Matthias Clasen <mclasen@redhat.com> * gdk/win32/bdfcursor.c (compose_cursors_from_fonts): * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): * gtk/gtkfilesystemmodel.c (got_root_folder_cb): (get_children_folder_cb): Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515, Nicolas Peninguy) svn path=/trunk/; revision=17671
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/bdfcursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/bdfcursor.c b/gdk/win32/bdfcursor.c
index e9d0e05206..8f75b3b489 100644
--- a/gdk/win32/bdfcursor.c
+++ b/gdk/win32/bdfcursor.c
@@ -279,7 +279,7 @@ static void compose_cursors_from_fonts()
{
GSList *l;
- for (l = g_slist_copy(fonts); l; l = g_slist_remove_link(l,l))
+ for (l = g_slist_copy (fonts); l; l = g_slist_delete_link (l,l))
{
font_info_t *fi = l->data;
gchar *name;