treewide: fix some memory leaks
commit74750f68dd7869c61962593b460005d7e5b19a42
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 10 Dec 2012 11:58:58 +0000 (10 14:58 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 10 Dec 2012 11:58:58 +0000 (10 14:58 +0300)
treeaf060fa610a5ee95ef275b4958aa48c4a8a8db26
parent19a1ff06aff9963addb982f7854f919ccfaca7a3
treewide: fix some memory leaks

I ran valgrind a bit and it pointed out some memory leaks.  It still
complains that there are a lot of leaks.  The other ones are mostly to do
with sqlite3 and I haven't investigated them.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_deref.c
check_sizeof_pointer.c
check_user_data.c
smatch_capped.c
smatch_db.c
smatch_extra.c