]> git.kaiwu.me - haproxy.git/commit
MINOR: deinit: release the in-memory copy of shared libs
authorWilly Tarreau <w@1wt.eu>
Fri, 29 May 2026 09:20:12 +0000 (11:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 May 2026 12:15:43 +0000 (14:15 +0200)
commit39ffafa6d44f4449032a5a918680b0a3424d0318
treebf116d2523f5233ce2abb23ceab862cdc544a89e
parent45f14ba836736ebbfcd7e4c90ba888992710c48b
MINOR: deinit: release the in-memory copy of shared libs

When shared libs were loaded via "set-dumpable libs", better release
them upon deinit, it will make valgrind happier. For this we now have
a new function free_collected_libs() in tools.c and call it in deinit().
include/haproxy/tools.h
src/haproxy.c
src/tools.c