allocate: use unsigned long to record allocations
commit334907b60d00238c5e3482ffbf87b1889ffa9ce8
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2018 11:52:03 +0000 (12 14:52 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2018 11:52:03 +0000 (12 14:52 +0300)
treeb18dff82908558d8b3688d31c4de129fc1556351
parentd09b2364752a7d759ed18b42d778127edc3f0172
allocate: use unsigned long to record allocations

Smatch does a ton of ptr_list allocations and the frees aren't accounted
for if you free things one at a time, so these ints can wrap around.

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