stree: fix a bunch of stree leaks
commit7a8c9bda52f522be2fedabea05f392299637ed22
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Feb 2014 09:15:37 +0000 (28 12:15 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Feb 2014 09:20:57 +0000 (28 12:20 +0300)
tree39dfd6a252b58379f04c7dd2b42b1bfffe668eeb
parentf6415169c78ef531b4a5dd27dffde90ecec07494
stree: fix a bunch of stree leaks

Add a bunch of calls to free_stree().

The change in match_states_stree() from smatch_slist.c is because it's
faster to just append a pointer to the end of a list instead of inserting
it into a stree.  It probably doesn't make a measurable difference, but
it's the thought which counts.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_conditions.c
smatch_db.c
smatch_flow.c
smatch_function_hooks.c
smatch_param_filter.c
smatch_param_limit.c
smatch_returns.c
smatch_slist.c
smatch_states.c
smatch_type_val.c