tests: integration: Avoid leak

This commit is contained in:
Thibault Saunier 2013-08-01 17:56:16 +02:00
parent 4d8e9bd53c
commit 54f152aea7

View file

@ -738,9 +738,7 @@ test_mix_layers (GESTimeline * timeline, GESUriClipAsset ** assets,
GES_TRACK_TYPE_UNKNOWN); GES_TRACK_TYPE_UNKNOWN);
fail_unless (clip != NULL); fail_unless (clip != NULL);
children = ges_container_get_children (GES_CONTAINER (clip), FALSE); for (tmp = GES_CONTAINER_CHILDREN (clip); tmp; tmp = tmp->next) {
for (tmp = children; tmp; tmp = tmp->next) {
track_element = GES_TRACK_ELEMENT (tmp->data); track_element = GES_TRACK_ELEMENT (tmp->data);
track_type = ges_track_element_get_track_type (track_element); track_type = ges_track_element_get_track_type (track_element);