maemo.org Bugzilla – Bug 8731
Memory leaks in widget HildonAnimationActor
Last modified: 2010-04-14 00:57:31 UTC
You need to
before you can comment on or make changes to this bug.
EXACT STEPS LEADING TO PROBLEM:
I downloaded source of libhildon-2.2.3
apt-get source libhildon
Took simple test from hildon-animation-actor.c and modified it see attach
gcc -g -o test -I/usr/include -I/usr/X11R6/include `pkg-config --cflags
hildon-1 ` `pkg-config --libs hildon-1 ` test_hildon_animation.c
Run under valgring:
cp test /usr/bin/test && run-standalone.sh run-with-memcheck /usr/bin/test
And I saw memory leaks in log file (see attach memcheck-test-1873.log)
Widget without memory leaks
Widget with memory leaks
EXTRA SOFTWARE INSTALLED:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:18.104.22.168)
Gecko/2009032803 Iceweasel/3.0.6 (Debian-3.0.6-1)
Created an attachment (id=2176) [details]
Source of test
Created an attachment (id=2177) [details]
I have forgotten to tell that you should press on the button in a window for
destroying of Acter for checking memory leaks.
Thanks for spotting this
diff --git a/hildon/hildon-animation-actor.c b/hildon/hildon-animation-actor.c
index beaf8f5..6283835 100644
@@ -291,6 +291,7 @@ hildon_animation_actor_finalize (GObject
+ G_OBJECT_CLASS (hildon_animation_actor_parent_class)->finalize (object);
Setting explicit PR1.2 milestone (so it's clearer in which public release the
fix will be available to users).
Sorry for the bugmail noise (you can filter on this message).