]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: map: Fix memory leak in the map converter
authorNenad Merdanovic <nmerdan@haproxy.com>
Fri, 12 Apr 2019 20:54:28 +0000 (22:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Apr 2019 07:53:46 +0000 (09:53 +0200)
commit646b7741bc683d6c6b43342369afcbba33d7b6ec
treee74cf5a962ace99f76c0dc15c677fcf8e30fbe0f
parentc8da044b41991fbb56ba47b89a2d2d27f8ca6701
BUG/MEDIUM: map: Fix memory leak in the map converter

The allocated trash chunk is not freed properly and causes a memory leak
exhibited as the growth in the trash pool allocations. Bug was introduced
in commit 271022 (BUG/MINOR: map: fix map_regm with backref).

This should be backported to all branches where the above commit was
backported.
src/map.c