projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
131760b
)
tests: don't leak clips list in basic unit test
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 26 Oct 2014 20:24:09 +0000
(20:24 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 26 Oct 2014 20:24:31 +0000
(20:24 +0000)
tests/check/ges/basic.c
patch
|
blob
|
history
diff --git
a/tests/check/ges/basic.c
b/tests/check/ges/basic.c
index
eaa7522
..
6da18bb
100644
(file)
--- a/
tests/check/ges/basic.c
+++ b/
tests/check/ges/basic.c
@@
-498,6
+498,8
@@
GST_START_TEST (test_ges_timeline_remove_track)
ASSERT_OBJECT_REFCOUNT (timeline, "1 for the us", 1);
tmp = ges_layer_get_clips (layer);
assert_equals_int (g_list_length (tmp), 3);
+ g_list_foreach (tmp, (GFunc) gst_object_unref, NULL);
+ g_list_free (tmp);
check_destroyed (G_OBJECT (timeline), G_OBJECT (layer), t1, t2, t3, NULL);
}