mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
multifilesink: do not use g_slist_free_full
... as that is only in GLib 2.28, which is not yet required at this time.
This commit is contained in:
parent
072bd74cc4
commit
6c0aec783a
1 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,8 @@ gst_multi_file_sink_finalize (GObject * object)
|
||||||
GstMultiFileSink *sink = GST_MULTI_FILE_SINK (object);
|
GstMultiFileSink *sink = GST_MULTI_FILE_SINK (object);
|
||||||
|
|
||||||
g_free (sink->filename);
|
g_free (sink->filename);
|
||||||
g_slist_free_full (sink->files, (GDestroyNotify) g_free);
|
g_slist_foreach (sink->files, (GFunc) g_free, NULL);
|
||||||
|
g_slist_free (sink->files);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue