------------------------------------------------------------ revno: 13853 revision-id: squid3@treenet.co.nz-20150628101254-sq8tb13o0zn8958z parent: squid3@treenet.co.nz-20150628101134-njqfs7qq3ica95bo fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=4193 author: Matthias Pitzl committer: Amos Jeffries branch nick: 3.5 timestamp: Sun 2015-06-28 03:12:54 -0700 message: Bug 4193: Memory leak on FTP listings ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20150628101254-sq8tb13o0zn8958z # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 790b42ba8b151e64d07e0382e0e4789f20dab8d7 # timestamp: 2015-06-28 10:15:53 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: squid3@treenet.co.nz-20150628101134-\ # njqfs7qq3ica95bo # # Begin patch === modified file 'src/clients/FtpGateway.cc' --- src/clients/FtpGateway.cc 2015-01-13 09:13:49 +0000 +++ src/clients/FtpGateway.cc 2015-06-28 10:12:54 +0000 @@ -967,7 +967,7 @@ if ( t != NULL) { debugs(9, 7, HERE << "listing append: t = {" << t->contentSize() << ", '" << t->content() << "'}"); listing.append(t->content(), t->contentSize()); -//leak? delete t; + delete t; } }