]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
FtpState should not call StoreEntry::unregisterAbort()
authorwessels <>
Tue, 8 May 2007 03:32:00 +0000 (03:32 +0000)
committerwessels <>
Tue, 8 May 2007 03:32:00 +0000 (03:32 +0000)
Since FtpState does not register an abort handler, it should not
call unregisterAbort().

src/ftp.cc

index 62600f92e87330e0a6d4797351eb8aa28925e1c4..0da5bbcbd3e255f22a03548027bb849c20af5d5c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.421 2007/05/05 00:14:17 wessels Exp $
+ * $Id: ftp.cc,v 1.422 2007/05/07 21:32:00 wessels Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
@@ -399,8 +399,6 @@ FtpStateData::~FtpStateData()
 {
     debugs(9, 3, "~ftpStateData: " << entry->url()  );
 
-    entry->unregisterAbort();
-
     if (reply_hdr) {
         memFree(reply_hdr, MEM_8K_BUF);
         reply_hdr = NULL;