]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: cli: ensure we can never double-free error messages
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2015 18:00:24 +0000 (20:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Oct 2015 18:00:24 +0000 (20:00 +0200)
commit6457d0fac304b7bba3e8af13501bf5ecf82bfa67
tree9b61b7d288a412b37cb6697e020e1f1c4f5b7874
parent8c1ad716dff4d99f1a70bd5c541f3630ea9589ea
CLEANUP: cli: ensure we can never double-free error messages

The release handler used to be called twice for some time and just by
pure luck we never ended up double-freeing the data there. Add a NULL
to ensure this can never happen should a future change permit this
situation again.
src/dumpstats.c