From 2b22b60e6ea1ca22d7052d9bfb1fc8acfec4ca81 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Sat, 10 Mar 2012 02:06:10 +0900 Subject: [PATCH] Fixed leaking GValue content in clutter_animation_setup_valist(). Normally this leak goes unnoticed because basic fundamental types are typically used with clutter_actor_animate(), the leak shows up if boxed or object types are passed (such as ClutterVertex in the case I stumbled upon). --- clutter/clutter-animation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clutter/clutter-animation.c b/clutter/clutter-animation.c index f1c4a0f3b..97457ecf7 100644 --- a/clutter/clutter-animation.c +++ b/clutter/clutter-animation.c @@ -2028,6 +2028,9 @@ clutter_animation_setup_valist (ClutterAnimation *animation, &final, pspec, is_fixed); + + + g_value_unset (&final); } property_name = va_arg (var_args, gchar*);