mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
playbin3: fix collection leak
The collection referenced owned by playbin3 was not released when it was destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=769080
This commit is contained in:
parent
2c0a4d20d4
commit
c1f37edfd9
1 changed files with 3 additions and 0 deletions
|
@ -1794,6 +1794,9 @@ gst_play_bin3_finalize (GObject * object)
|
|||
if (playbin->velements)
|
||||
g_sequence_free (playbin->velements);
|
||||
|
||||
if (playbin->collection)
|
||||
gst_object_unref (playbin->collection);
|
||||
|
||||
g_list_free_full (playbin->contexts, (GDestroyNotify) gst_context_unref);
|
||||
|
||||
g_rec_mutex_clear (&playbin->lock);
|
||||
|
|
Loading…
Reference in a new issue