projects
/
platform
/
upstream
/
gst-editing-services.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
timeline: Plug leak of the auto transition asset
[platform/upstream/gst-editing-services.git]
/
ges
/
ges-timeline.c
diff --git
a/ges/ges-timeline.c
b/ges/ges-timeline.c
index
125da3f
..
78760b9
100644
(file)
--- 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);