diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2013-08-01 17:56:16 +0200 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2013-08-01 17:56:29 +0200 |
commit | 54f152aea796d0f8490679e92b2c880f547d1d3b (patch) | |
tree | c574686905fc613fc544ea03bb39d0815ef4765e | |
parent | 4d8e9bd53c5943904156941a8365719dd6e20984 (diff) |
tests: integration: Avoid leak
-rw-r--r-- | tests/check/ges/integration.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/check/ges/integration.c b/tests/check/ges/integration.c index 2c288ab..6968223 100644 --- a/tests/check/ges/integration.c +++ b/tests/check/ges/integration.c @@ -738,9 +738,7 @@ test_mix_layers (GESTimeline * timeline, GESUriClipAsset ** assets, GES_TRACK_TYPE_UNKNOWN); fail_unless (clip != NULL); - children = ges_container_get_children (GES_CONTAINER (clip), FALSE); - - for (tmp = children; tmp; tmp = tmp->next) { + for (tmp = GES_CONTAINER_CHILDREN (clip); tmp; tmp = tmp->next) { track_element = GES_TRACK_ELEMENT (tmp->data); track_type = ges_track_element_get_track_type (track_element); |