mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 09:19:31 +00:00
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).
This commit is contained in:
@ -2028,6 +2028,9 @@ clutter_animation_setup_valist (ClutterAnimation *animation,
|
|||||||
&final,
|
&final,
|
||||||
pspec,
|
pspec,
|
||||||
is_fixed);
|
is_fixed);
|
||||||
|
|
||||||
|
|
||||||
|
g_value_unset (&final);
|
||||||
}
|
}
|
||||||
|
|
||||||
property_name = va_arg (var_args, gchar*);
|
property_name = va_arg (var_args, gchar*);
|
||||||
|
Reference in New Issue
Block a user