mirror_corosync/exec
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
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
cmap.c Move hdb_error_to_cs to corotypes.h 2012-02-14 11:10:14 +11:00
coroparse.c Properly parse uidgid files 2012-04-10 09:08:36 +02:00
cpg.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
icmap.c icmap: fix a valgrind errors (pass 1) 2012-04-24 09:28:23 +02:00
ipc_glue.c ipcs: allow connections only after all services are ready 2012-04-16 13:39:03 +02:00
logsys.c Remove unused function logsys_priority_name_get() 2012-03-09 21:54:51 +11:00
main.c icmap: fix a valgrind errors (pass 1) 2012-04-24 09:28:23 +02:00
main.h ipcs: allow connections only after all services are ready 2012-04-16 13:39:03 +02:00
mainconfig.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
mainconfig.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
Makefile.am Rename totemcrypto 2012-03-13 17:38:46 +01:00
mon.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
pload.c pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c drop evs service 2012-03-12 15:51:50 +01:00
service.h drop evs service 2012-03-12 15:51:50 +01:00
sync.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c crypto: Remove sha224 and add md5 hash 2012-03-15 17:36:56 +01:00
totemconfig.h Tweak nodeid warning 2012-02-21 16:33:56 +01:00
totemcrypto.c crypto init: release *_slot resource after init 2012-04-20 10:57:16 +02:00
totemcrypto.h crypto: change network packets and add dynamic crypto header/data 2012-03-14 15:57:01 +01:00
totemiba.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemiba.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemip.c Always set interface_up in totemip_iface_check 2012-03-02 09:41:36 +01:00
totemmrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemmrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemnet.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemnet.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totempg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemrrp.c Always allocate totemrrp stats array 2012-04-10 09:08:42 +02:00
totemrrp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemsrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemsrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemudp.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.h Update crypto_set API 2012-03-15 17:33:53 +01:00
util.c drop evs service 2012-03-12 15:51:50 +01:00
util.h pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
votequorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
votequorum.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf_quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
vsf_ykd.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
vsf_ykd.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00