From 54f152aea796d0f8490679e92b2c880f547d1d3b Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 1 Aug 2013 17:56:16 +0200 Subject: [PATCH] tests: integration: Avoid leak --- tests/check/ges/integration.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/check/ges/integration.c b/tests/check/ges/integration.c index 2c288ab53f..6968223940 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);