mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
libs/gst/controller/gstcontroller.c: Unset the minimum and maximum GValues when freeing the corresponding
Original commit message from CVS: * libs/gst/controller/gstcontroller.c: (gst_controlled_property_free): Unset the minimum and maximum GValues when freeing the corresponding GstControllerProperty struct.
This commit is contained in:
parent
bdcc0329ef
commit
f8742ef131
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* libs/gst/controller/gstcontroller.c:
|
||||
(gst_controlled_property_free):
|
||||
Unset the minimum and maximum GValues when freeing the corresponding
|
||||
GstControllerProperty struct.
|
||||
|
||||
2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* libs/gst/controller/gstcontroller.c:
|
||||
|
|
|
@ -479,6 +479,11 @@ gst_controlled_property_free (GstControlledProperty * prop)
|
|||
if (G_IS_VALUE (&prop->live_value.value))
|
||||
g_value_unset (&prop->live_value.value);
|
||||
|
||||
if (G_IS_VALUE (&prop->min_value))
|
||||
g_value_unset (&prop->min_value);
|
||||
if (G_IS_VALUE (&prop->max_value))
|
||||
g_value_unset (&prop->max_value);
|
||||
|
||||
g_free (prop);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue