]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: pools: factor all malloc_trim() calls into trim_all_pools()
authorWilly Tarreau <w@1wt.eu>
Wed, 15 Sep 2021 08:38:21 +0000 (10:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Sep 2021 08:38:21 +0000 (10:38 +0200)
commitea3323f62c093f2ee5e09b131ab6e3e23d113838
treeec23412a3445e58c6ca915b66199ceeaff28a260
parentc5d0fc9b9f165c4dcbe0ff849c740702bd732a01
CLEANUP: pools: factor all malloc_trim() calls into trim_all_pools()

The code was slightly cleaned up by removing repeated occurrences of ifdefs
and moving that into a single trim_all_pools() function.
src/pool.c