BUG/MEDIUM: cli: Prevent double free in CLI ACL lookup
authorNenad Merdanovic <nmerdan@haproxy.com>
Sun, 12 Mar 2017 21:01:35 +0000 (22:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Mar 2017 17:25:53 +0000 (18:25 +0100)
commit24f45d8e34797ed9c16ac3fa6d89f3eed435e706
treebbb77059876fd091abe425681095086b5d690414
parent8d7104982e1c41f7dc4d75ae7f7d2bbb96052d40
BUG/MEDIUM: cli: Prevent double free in CLI ACL lookup

The memory is released by cli_release_mlook, which also properly sets the
pointer to NULL. This was introduced with a big code reorganization
involving moving to the new keyword registration form in commit ad8be61c7.

This fix needs to be backported to 1.7.

Signed-off-by: Nenad Merdanovic <nmerdan@haproxy.com>
src/map.c