]> git.ipfire.org Git - thirdparty/squid.git/commit
Allocate ClientInfo::hash.key using malloc() instead of new char[]
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 19 May 2013 03:46:58 +0000 (21:46 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 May 2013 03:46:58 +0000 (21:46 -0600)
commit3674d3aa7c426c5ebfb7227dc7ba2553f300d96e
treef3e67e6ae77c16a8bf47c825bed7dfc6f6061694
parentd79f2127415227ff2e7bfeba2449abfe21ffa70d
Allocate ClientInfo::hash.key using malloc() instead of new char[]

... because it is destroyed using safe_free() instead of delete[].

Added ClientInfo construction/destruction debugging to find leaking objects.
src/client_db.cc