]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acl: fix a double free during exit when using PCRE_JIT
authorWilly Tarreau <w@1wt.eu>
Wed, 8 May 2013 16:09:54 +0000 (18:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 May 2013 16:14:18 +0000 (18:14 +0200)
commitdd11293e849a30ff0a72b1cfed804f238ef536cb
tree4fb78321f6abb2cdf9098242934bb5fa0d232bb1
parent7c41a1b59b005a75914121a604ede449374b8de7
BUG/MINOR: acl: fix a double free during exit when using PCRE_JIT

When freeing ACL regex, we don't want to perform the free() in regex_free()
as it's already performed in free_pattern(). The double free only happens
when using PCRE_JIT when freeing everything during exit so it's harmless
but exhibits libc errors during a reload/restart.

Bug reported by Seri.
include/common/regex.h