]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: haproxy: fix rule->file memory leak
authorDragan Dosen <ddosen@haproxy.com>
Mon, 29 Apr 2019 22:38:36 +0000 (00:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 May 2019 08:05:06 +0000 (10:05 +0200)
commit2a7c20f602e5d40e9f23c703fbcb12e3af762337
tree24e55dcd51b60a4a3cb629b62443c3cfc0d59d37
parentb51937ebaa8813de233e603a481d9d7d53935609
BUG/MINOR: haproxy: fix rule->file memory leak

When using the "use_backend" configuration directive, the configuration
file name stored as rule->file was not freed in some situations. This
was introduced in commit 4ed1c95 ("MINOR: http/conf: store the
use_backend configuration file and line for logs").

This patch should be backported to 1.9, 1.8 and 1.7.
src/haproxy.c