timeline: don't leak pad in private structure

https://bugzilla.gnome.org/show_bug.cgi?id=754867
This commit is contained in:
Justin Kim 2015-09-11 16:11:40 +09:00 committed by Thibault Saunier
parent 04bac06fad
commit fe2165cad3

View file

@ -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);