mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
use _delete_link again
Original commit message from CVS: use _delete_link again
This commit is contained in:
parent
83bfcc03bd
commit
a4ccb27cfd
1 changed files with 1 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue