mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
Unref source in playbin2's finalize method
This commit is contained in:
parent
b6cbe7e331
commit
c799f3f77f
1 changed files with 3 additions and 0 deletions
|
@ -1002,6 +1002,9 @@ gst_play_bin_finalize (GObject * object)
|
|||
free_group (playbin, &playbin->groups[0]);
|
||||
free_group (playbin, &playbin->groups[1]);
|
||||
|
||||
if (playbin->source)
|
||||
gst_object_unref (playbin->source);
|
||||
|
||||
g_value_array_free (playbin->elements);
|
||||
g_free (playbin->encoding);
|
||||
g_mutex_free (playbin->lock);
|
||||
|
|
Loading…
Reference in a new issue