mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
GESTrackkEffect: Fix Leaks
This commit is contained in:
parent
65649722dd
commit
3195bd1303
2 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,8 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self)
|
||||||
g_object_ref (child));
|
g_object_ref (child));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
g_free (parray);
|
||||||
|
|
||||||
GST_DEBUG ("%i configurable properties added to %p", child,
|
GST_DEBUG ("%i configurable properties added to %p", child,
|
||||||
nb_specs);
|
nb_specs);
|
||||||
gst_object_unref (child);
|
gst_object_unref (child);
|
||||||
|
|
|
@ -384,6 +384,7 @@ GST_START_TEST (test_track_effect_set_properties)
|
||||||
for (i = 0; i < n_props; i++) {
|
for (i = 0; i < n_props; i++) {
|
||||||
g_param_spec_unref (pspecs[i]);
|
g_param_spec_unref (pspecs[i]);
|
||||||
}
|
}
|
||||||
|
g_free (pspecs);
|
||||||
|
|
||||||
ges_timeline_layer_remove_object (layer, (GESTimelineObject *) tl_effect);
|
ges_timeline_layer_remove_object (layer, (GESTimelineObject *) tl_effect);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue