mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
timeline: don't leak pad in private structure
https://bugzilla.gnome.org/show_bug.cgi?id=754867
This commit is contained in:
parent
04bac06fad
commit
fe2165cad3
1 changed files with 1 additions and 0 deletions
|
@ -3108,6 +3108,7 @@ ges_timeline_remove_track (GESTimeline * timeline, GESTrack * track)
|
|||
}
|
||||
|
||||
tr_priv = tmp->data;
|
||||
gst_object_unref (tr_priv->pad);
|
||||
priv->priv_tracks = g_list_remove (priv->priv_tracks, tr_priv);
|
||||
UNLOCK_DYN (timeline);
|
||||
timeline->tracks = g_list_remove (timeline->tracks, track);
|
||||
|
|
Loading…
Reference in a new issue