allocation_funcs: handle inline functions better
commitd082eb8328bdf1fc2944c8e2d4a9c70100abe494
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Aug 2022 12:21:39 +0000 (2 15:21 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Aug 2022 12:21:39 +0000 (2 15:21 +0300)
tree58702df17001303268fa0cc344fb1301982c360f
parenta35cba035d1e41efb0daed5fc34e29655796ee05
allocation_funcs: handle inline functions better

This code did not preserve the "returns_old/new_stuff" correctly across
inline calls correctly.  Just use the add_function_data() hook to do it.

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