Commit f8742ef1 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

libs/gst/controller/gstcontroller.c: Unset the minimum and maximum GValues...

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.
parent bdcc0329
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> 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
   
* libs/gst/controller/gstcontroller.c: * libs/gst/controller/gstcontroller.c:
......
...@@ -479,6 +479,11 @@ gst_controlled_property_free (GstControlledProperty * prop) ...@@ -479,6 +479,11 @@ gst_controlled_property_free (GstControlledProperty * prop)
if (G_IS_VALUE (&prop->live_value.value)) if (G_IS_VALUE (&prop->live_value.value))
g_value_unset (&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); g_free (prop);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment