allocation_funcs: use the add_allocation_hook()
commit21b33e92f131bb4502ad8247761cd4aac2f7a8ee
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Aug 2022 12:23:48 +0000 (2 15:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Aug 2022 12:23:48 +0000 (2 15:23 +0300)
tree41d87fa50aa9e5b0773b275a4157e737c7f30099
parentd082eb8328bdf1fc2944c8e2d4a9c70100abe494
allocation_funcs: use the add_allocation_hook()

There is a new centralized hook for tracking allocations.  Use that
instead of open coding it.  This should not be a functional change because
if I remember correctly, I copied the list of allocation functions from
here.

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