mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
layer: Fix asset leak
This commit is contained in:
parent
5a4cf445cd
commit
099934c35f
1 changed files with 1 additions and 0 deletions
|
@ -625,6 +625,7 @@ ges_layer_add_clip (GESLayer * layer, GESClip * clip)
|
|||
ges_extractable_set_asset (GES_EXTRACTABLE (clip), asset);
|
||||
|
||||
g_slice_free (NewAssetUData, mudata);
|
||||
gst_clear_object (&asset);
|
||||
} else {
|
||||
gst_object_ref_sink (clip);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue