function_hooks: add some calls to __unnullify_path()
commit4eee1b3890492f6451ec577399a8ca0d286c8877
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Dec 2012 12:24:09 +0000 (14 15:24 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Dec 2012 12:24:09 +0000 (14 15:24 +0300)
treec84f9ff32ddaba394203991ead8ccf50ffd4b05e
parent0c412610f0424adf21cf70ec0af4ec0217edf7e6
function_hooks: add some calls to __unnullify_path()

The problem is that we call a function:
some_func(x, y, z);

We want to create an slist for each return path in some_func().  If we were
storing the return value then it wouldn't be a problem.  But since we're
not there could be a return path which doesn't set any states so it gets
ignored.  This is why return_markers exist so that we know when to call
__unnullify_path().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_function_hooks.c