leaks: replace check_memory.c with a rewrite check_leaks.c
commit940851a440ba0f04b99e4334559c634ff93430c7
authorDan Carpenter <error27@gmail.com>
Thu, 8 Jul 2010 10:29:45 +0000 (8 12:29 +0200)
committerDan Carpenter <error27@gmail.com>
Thu, 8 Jul 2010 10:29:45 +0000 (8 12:29 +0200)
treeabdaafecc5f55bfd85a64e14654af18f2eabef8f
parent3e522256cfc1177fdbb959a017a304d0681aef38
leaks: replace check_memory.c with a rewrite check_leaks.c

The check_memory.c thing was sort of a mess.  I removed previously wrote
a check_free.c which replaced part of check_memory.c but the remaining code
still had a bunch of unneeded states.

The rewrite is cleaner.

The complicated bit of doing check memory is handling structs and arrays.
In the rewritten version, I ended up not even trying to handle these.  The
good news is the rewrite finds more bugs then the original check.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_leaks.c [new file with mode: 0644]
check_list.h
validation/sm_memleak2.c
validation/sm_memory.c