mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tests: ges: Fix various leak
This commit is contained in:
parent
099934c35f
commit
4bf91bda31
2 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,7 @@ GST_START_TEST (test_transition_basic)
|
|||
fail_unless (ges_video_transition_get_transition_type
|
||||
(GES_VIDEO_TRANSITION (trackelement)) == 1);
|
||||
|
||||
gst_object_unref (tr1);
|
||||
gst_object_unref (timeline);
|
||||
|
||||
ges_deinit ();
|
||||
|
|
|
@ -200,6 +200,7 @@ GST_START_TEST (test_filesource_properties)
|
|||
ges_container_remove (GES_CONTAINER (clip),
|
||||
GES_TIMELINE_ELEMENT (trackelement));
|
||||
|
||||
gst_object_unref (asset);
|
||||
gst_object_unref (timeline);
|
||||
|
||||
ges_deinit ();
|
||||
|
@ -264,6 +265,7 @@ GST_START_TEST (test_filesource_images)
|
|||
ASSERT_OBJECT_REFCOUNT (track_element, "1 in track, 1 in clip 2 in timeline",
|
||||
4);
|
||||
|
||||
gst_object_unref (asset);
|
||||
gst_object_unref (timeline);
|
||||
|
||||
ges_deinit ();
|
||||
|
|
Loading…
Reference in a new issue