]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4193: Memory leak on FTP listings
authorMatthias Pitzl <silamael@coronamundi.de>
Sun, 28 Jun 2015 10:12:54 +0000 (03:12 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 28 Jun 2015 10:12:54 +0000 (03:12 -0700)
src/clients/FtpGateway.cc

index 18ae371887a9b82e95c530f7c6543154a87447e0..524eebbf07b6e6ebc9f0aa91e516f082dce79355 100644 (file)
@@ -967,7 +967,7 @@ Ftp::Gateway::parseListing()
         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;
         }
     }