diff --git a/ChangeLog b/ChangeLog index b65f5aa68..6ad8c6778 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-25 Emmanuele Bassi + + * clutter/clutter-script-parser.c: Unset the GValue when + getting a ClutterUnit from a JSON node. + 2007-10-25 Emmanuele Bassi * clutter/clutter-behaviour-bspline.c: Implement the diff --git a/clutter/clutter-script-parser.c b/clutter/clutter-script-parser.c index 379b0de9b..09e846919 100644 --- a/clutter/clutter-script-parser.c +++ b/clutter/clutter-script-parser.c @@ -284,6 +284,8 @@ get_units_from_node (JsonNode *node) break; } + g_value_unset (&value); + return retval; }