tests: ges: Fix various leak

This commit is contained in:
Yeongjin Jeong 2019-01-28 00:55:27 +09:00
parent 099934c35f
commit 4bf91bda31
2 changed files with 3 additions and 0 deletions

View file

@ -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 ();

View file

@ -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 ();