On Wed, 2014-03-05 at 19:17 +0100, Ulink wrote:
> Consider the following (dummy) functions which shows memory leaks here
> (valac 0.20.1 on ubuntu saucy 64Bit). It seems the problem exists with
> Gee.ArrayList too. May someone confirm this?
According to valgrind 3.9.0, there are no leaks with this test code on
my system (up-to-date Linux on x86-64). I've tested with valac 0.20.1
and valac 0.22.1.
void main() {
Dummy1(100);
Dummy2(20);
Dummy3();
}
==20163== LEAK SUMMARY:
==20163== definitely lost: 0 bytes in 0 blocks
==20163== indirectly lost: 0 bytes in 0 blocks
==20163== possibly lost: 4,748 bytes in 85 blocks
==20163== still reachable: 37,264 bytes in 170 blocks
==20163== suppressed: 0 bytes in 0 blocks
'possibly lost' and 'still reachable' are all related to GObject
initialization and I'm just missing suppression lists for this.
If you're still seeing memory leaks on your system, please include a
full test case (i.e., including main) and provide a corresponding leak
report from valgrind or another leak checker.
Regards,
Jürg
_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list