mirror_corosync/include/corosync
Fabio M. Di Nitto 1dcb2d43d9 icmap: fix a valgrind errors (pass 1)
clean up a lot of allocated blocks at exit.
those changes has no runtime effects, but it makes valgrind
output a bit more useful by dropping over 700 errors/warnings to skip
over every single run.

there are still a few icmap related valgrind errors but those need
some more complex and timeconsuming investigation.

pre patch:

==21844== HEAP SUMMARY:
==21844==     in use at exit: 1,229,321 bytes in 1,516 blocks
==21844==   total heap usage: 7,191 allocs, 5,675 frees, 3,819,853 bytes allocated

==21844== LEAK SUMMARY:
==21844==    definitely lost: 3,617 bytes in 11 blocks
==21844==    indirectly lost: 21,960 bytes in 11 blocks
==21844==      possibly lost: 1,080,101 bytes in 131 blocks
==21844==    still reachable: 123,643 bytes in 1,363 blocks
==21844==         suppressed: 0 bytes in 0 blocks

==21844== ERROR SUMMARY: 136 errors from 136 contexts (suppressed: 0 from 0)

post patch:

==25793== HEAP SUMMARY:
==25793==     in use at exit: 1,185,870 bytes in 808 blocks
==25793==   total heap usage: 9,427 allocs, 8,619 frees, 4,156,841 bytes allocated

==25793== LEAK SUMMARY:
==25793==    definitely lost: 3,697 bytes in 12 blocks
==25793==    indirectly lost: 22,248 bytes in 13 blocks
==25793==      possibly lost: 1,079,655 bytes in 113 blocks
==25793==    still reachable: 80,270 bytes in 670 blocks
==25793==         suppressed: 0 bytes in 0 blocks

==25793== ERROR SUMMARY: 119 errors from 119 contexts (suppressed: 0 from 0)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2012-04-24 09:28:23 +02:00
..
totem Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
.gitignore build: drop obsoleted SOCKETDIR option 2012-03-12 07:12:48 +01:00
cfg.h Update crypto_set API 2012-03-15 17:33:53 +01:00
cmap.h Add cmap service 2011-12-15 09:19:17 +01:00
coroapi.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
corodefs.h drop evs service 2012-03-12 15:51:50 +01:00
corotypes.h Change the IPC TIMEOUT to block. 2012-02-14 21:27:02 +11:00
cpg.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
hdb.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
icmap.h icmap: fix a valgrind errors (pass 1) 2012-04-24 09:28:23 +02:00
ipc_cfg.h Update crypto_set API 2012-03-15 17:33:53 +01:00
ipc_cmap.h Add cmap service 2011-12-15 09:19:17 +01:00
ipc_cpg.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
ipc_quorum.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
ipc_votequorum.h votequorum: major rework to fix qdevice API and integration with core 2012-02-27 09:30:26 +01:00
list.h Convert existing documentation to doxygen format. 2011-03-12 15:03:16 +11:00
logsys.h Check before making a reference to __start___verbose 2012-04-05 23:49:47 +10:00
mar_gen.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
quorum.h Updated copyright dates in include directory 2012-02-13 17:05:04 -07:00
sam.h Move SAM to use CMAP service 2011-12-15 09:19:18 +01:00
sq.h Convert existing documentation to doxygen format. 2011-03-12 15:03:16 +11:00
swab.h remove all trailing blanks 2009-04-22 08:03:55 +00:00
votequorum.h votequorum: fix votequorum_getinfo man page and align struct name 2012-02-27 12:41:04 +01:00