]> git.ipfire.org Git - thirdparty/squid.git/commit - src/log/FormatSquidNative.cc
Fix memory leak of AccessLogentry::url
authorNathan Hoad <nathan@getoffmalawn.com>
Fri, 25 Mar 2016 13:03:30 +0000 (02:03 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 25 Mar 2016 13:03:30 +0000 (02:03 +1300)
commitf57ae909fef52f5088b8304a4eb21d0c3978f533
treeafc8696370e35dc21749cbf49aa53fde6a4e0193
parent91bb4684cdf2b0f1c33181848d13dbb388bda567
Fix memory leak of AccessLogentry::url

 ... created by ACLFilledChecklist::syncAle().

::syncAle() is the only place in the codebase that assigns a URL that
AccessLogEntry is expected to free(), which AccessLogEntry doesn't do.
This results in a memory leak.

  This is submitted on behalf of Bloomberg L.P.
src/AccessLogEntry.h
src/acl/FilledChecklist.cc
src/format/Format.cc
src/format/Format.h
src/log/FormatHttpdCombined.cc
src/log/FormatHttpdCommon.cc
src/log/FormatSquidNative.cc
src/log/FormatSquidReferer.cc
src/log/access_log.cc