GESTrackkEffect: Fix Leaks

This commit is contained in:
Thibault Saunier 2011-05-06 17:21:22 -03:00 committed by Edward Hervey
parent 65649722dd
commit 3195bd1303
2 changed files with 3 additions and 0 deletions

View file

@ -137,6 +137,8 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self)
g_object_ref (child));
}
}
g_free (parray);
GST_DEBUG ("%i configurable properties added to %p", child,
nb_specs);
gst_object_unref (child);

View file

@ -384,6 +384,7 @@ GST_START_TEST (test_track_effect_set_properties)
for (i = 0; i < n_props; i++) {
g_param_spec_unref (pspecs[i]);
}
g_free (pspecs);
ges_timeline_layer_remove_object (layer, (GESTimelineObject *) tl_effect);