More allocation debugging support.
authorMichael Poole <mdpoole@troilus.org>
Mon, 24 Jan 2005 16:45:44 +0000 (16:45 +0000)
committerMichael Poole <mdpoole@troilus.org>
Mon, 24 Jan 2005 16:45:44 +0000 (16:45 +0000)
commit9ff937d66561e227f063467f7549b45c9d8bbbca
tree050e450f817953a80d4f51b828095763ad3232d2
parentdea629dc3145fbd4de2f45ae7fbbe9bb44f71488
More allocation debugging support.

src/alloc-srvx.c (srvx_realloc): Reorganize.
(verify): New function.

src/common.h (verify): Define and/or declare suitably.

src/dict-splay.c (dict_splay): Verify node at each iteration.
(dict_insert, dict_remove2, dict_find, dict_delete,
dict_sanity_check): Verify entire dict.
(dict_sanity_check_node): Verify node as valid allocation.

src/hash.c (DelChannel): Verify channel before deletion.
(GetUserMode): Verify channel, user, and each modeNode.

src/mod-sockcheck.c (sockcheck_free_client): Verify client.
(sockcheck_timeout_client, sockcheck_advance, sockcheck_readable,
sockcheck_connected, sockcheck_begin_test): Likewise.
(sockcheck_queue_address): Verify cached sockcheck entries.

src/proto-p10.c (DelUser): Verify user before deletion.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-7
ChangeLog
src/alloc-srvx.c
src/common.h
src/dict-splay.c
src/hash.c
src/mod-sockcheck.c
src/proto-p10.c