GESTrackObject: Fix leak when iterating elements

We *always* need to unref elements and not just when they're effects
This commit is contained in:
Edward Hervey 2011-05-07 13:26:01 +02:00
parent 92ce17285b
commit 44795fe51c

View file

@ -141,13 +141,13 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self)
GST_DEBUG ("%i configurable properties added to %p", child,
nb_specs);
gst_object_unref (child);
break;
}
i++;
categorie = categories[i];
}
g_strfreev (categories);
gst_object_unref (child);
break;
case GST_ITERATOR_RESYNC: