hooks: introduce AFTER_FUNC_HOOK
commit27c775dda149cfae9678d5d062bd81fc7893ec8e
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 14:14:40 +0000 (12 17:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 14:14:40 +0000 (12 17:14 +0300)
treee6f818eae673aa77b614e4cc923eec442d5c4385
parent8cdbf7a15b6ff40a052634576746144b47dc8619
hooks: introduce AFTER_FUNC_HOOK

The AFTER_FUNC_HOOK is useful for freeing data.  Otherwise you need to add
a second register_late function at the end of the check_list.h file so that
you only free data when you have run all the other end of function hooks.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.h
smatch_flow.c
smatch_hooks.c