timeline: Plug leak of the auto transition asset

This commit is contained in:
Thibault Saunier 2019-04-08 16:25:59 -04:00
parent e31aa62f7b
commit d04bffc541

View file

@ -712,6 +712,7 @@ ges_timeline_create_transition (GESTimeline * timeline,
transition =
ges_layer_add_asset (layer, asset, start, 0, duration,
ges_track_element_get_track_type (next));
g_object_unref (asset);
} else {
GST_DEBUG_OBJECT (timeline,
"Reusing already existing transition: %" GST_PTR_FORMAT, transition);