]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: map: do not leak a map descriptor on load error
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2026 13:09:20 +0000 (15:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Apr 2026 15:39:26 +0000 (17:39 +0200)
commit67fdcebd794f4e4edbe33a6c99ed923e169ac191
tree4bf62cf34a33d25dcf1d242e91fec7b5a0c66310
parent3fe3a189c26e8c1daaccd0a3dff4d3f996902daa
BUG/MINOR: map: do not leak a map descriptor on load error

Maps can leak a map descriptor in sample_load_map() on error. This is
harmless since the process won't start after this, and this cannot be
used at run time. but it's cleaner to fix it. This can be backported.
src/map.c