]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4193: Memory leak on FTP listings
authorMatthias Pitzl <silamael@coronamundi.de>
Mon, 22 Jun 2015 11:52:31 +0000 (04:52 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 22 Jun 2015 11:52:31 +0000 (04:52 -0700)
src/clients/FtpGateway.cc

index fd3435f5753ad35a0e210288a1efb69843ce4fae..b43205b655056eeb1c8e031fd8ce293d7b48de90 100644 (file)
@@ -960,7 +960,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;
         }
     }