diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c index 9a25be527..dd4debbe1 100644 --- a/clutter/clutter/clutter-actor.c +++ b/clutter/clutter/clutter-actor.c @@ -12072,7 +12072,7 @@ get_meta_from_animation_property (ClutterActor *actor, { ClutterActorPrivate *priv = actor->priv; ClutterActorMeta *meta = NULL; - gchar **tokens; + g_auto (GStrv) tokens = NULL; /* if this is not a special property, fall through */ if (name[0] != '@') @@ -12096,7 +12096,6 @@ get_meta_from_animation_property (ClutterActor *actor, { CLUTTER_NOTE (ANIMATION, "Invalid property name '%s'", name + 1); - g_strfreev (tokens); return NULL; } @@ -12118,8 +12117,6 @@ get_meta_from_animation_property (ClutterActor *actor, tokens[1], tokens[0]); - g_strfreev (tokens); - return meta; }