commit | f7c475df5c0a5868fc1911877befbe6d7c5cf475 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Nov 16 11:30:04 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 16 11:44:26 2022 +0100 |
tree | 67b539e4f0e829887e707cb92028156b701140c9 | |
parent | e608b0eb1699be68e8c9fe95fec037eeeecedb4a [diff] |
MINOR: pool/debug: create a new pool_alloc_flag() macro This macro just serves as an intermediary for __pool_alloc() and forwards the flag. When DEBUG_MEM_STATS is set, it will be used to collect all pool allocations including those which need to pass an explicit flag. It's now used by b_alloc() which previously couldn't be tracked by DEBUG_MEM_STATS, causing some free() calls to have no corresponding allocations.