From d04bffc541798b0d500cf7ff98abfc13e44f91b2 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 8 Apr 2019 16:25:59 -0400 Subject: [PATCH] timeline: Plug leak of the auto transition asset --- ges/ges-timeline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index 125da3f..78760b9 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -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); -- 2.7.4