+2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
+
+ * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
+ (gst_controller_unset_all):
+ Free allocated GstTimedValues when freeing list nodes.
+ Should fix leaks 'make check-valgrind' complains about.
+
+ * win32/common/libgstcontroller.def:
+ Add gst_controller_unset_all.
+
2006-04-11 Stefan Kost <ensonic@users.sf.net>
* docs/libs/gstreamer-libs-sections.txt:
/* check if a timed_value for the timestamp exists */
if ((node = g_list_find_custom (prop->values, ×tamp,
gst_timed_value_find))) {
+ g_free (node->data); /* free GstTimedValue */
prop->values = g_list_delete_link (prop->values, node);
res = TRUE;
}
g_mutex_lock (self->lock);
if ((prop = gst_controller_find_controlled_property (self, property_name))) {
+ /* free GstTimedValue structures */
+ g_list_foreach (prop->values, (GFunc) g_free, NULL);
g_list_free (prop->values);
prop->values = NULL;
res = TRUE;
gst_controller_set_interpolation_mode
gst_controller_sync_values
gst_controller_unset
+ gst_controller_unset_all
gst_object_control_properties
gst_object_get_controller
gst_object_get_value_array
gst_object_get_value_arrays
gst_object_set_controller
gst_object_sync_values
- gst_object_uncontrol_properties
\ No newline at end of file
+ gst_object_uncontrol_properties