projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5593792
)
animator: Only free the animator key when we've finished with it
author
Rob Bradford
<rob@linux.intel.com>
Mon, 24 Jan 2011 18:41:49 +0000
(18:41 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 26 Jan 2011 11:01:21 +0000
(11:01 +0000)
Fixes: http://bugzilla.clutter-project.org/show_bug.cgi?id=2530
clutter/clutter-animator.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-animator.c
b/clutter/clutter-animator.c
index
b2c6127
..
a506d92
100644
(file)
--- a/
clutter/clutter-animator.c
+++ b/
clutter/clutter-animator.c
@@
-1426,7
+1426,6
@@
again:
ClutterAnimatorKey *prev_key = NULL;
key->is_inert = is_inert;
- clutter_animator_key_free (key);
/* FIXME: non performant since we reiterate the list many times */
@@
-1446,6
+1445,8
@@
again:
next_key->ease_in = key->ease_in;
}
}
+
+ clutter_animator_key_free (key);
priv->score = g_list_remove (priv->score, key);
goto again;
}