v3 posted at http://article.gmane.org/gmane.comp.lib.libcg.devel/743

Changes since v3:
1. Remove a redundant line in _begin iterator.

Also tested with valgrind.

[dha...@gondor tests]$ ../libtool --mode=execute valgrind ./walk_task a b
==31462== Memcheck, a memory error detector.
==31462== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==31462== Using LibVEX rev 1804, a library for dynamic binary translation.
==31462== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==31462== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==31462== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==31462== For more details, rerun with: -v
==31462==
Printing the details of groups a
Pid is 14036
Pid is 14236
Printing the details of groups b
==31462==
==31462== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 15 from 1)
==31462== malloc/free: in use at exit: 0 bytes in 0 blocks.
==31462== malloc/free: 20 allocs, 20 frees, 5,821 bytes allocated.
==31462== For counts of detected errors, rerun with: -v
==31462== All heap blocks were freed -- no leaks are possible.
[dha...@gondor tests]$

While there is not much to be seen, as far as I can make out, there are no
leaks in the code (since we are not allocating memory)

This version is being merged in to the codebase now.

Thanks,
-- 
regards,
Dhaval


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to