From a4ccb27cfd7fe8857cb46f66ac944a88c5372821 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 17 Aug 2003 20:18:58 +0000 Subject: [PATCH] use _delete_link again Original commit message from CVS: use _delete_link again --- gst/gstinfo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index dcd23c8d62..75a59c472b 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -486,8 +486,7 @@ gst_debug_remove_with_compare_func (GCompareFunc func, gpointer data) continue; } g_free (found->data); - new = g_slist_remove_link (new, found); - g_slist_free_1 (found); + new = g_slist_delete_link (new, found); removals++; } /* FIXME: We leak the old list here. See _add_log_function for why. */