]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix an incorrect xfree() which should be a memFree(). Oops.
authoradrian <>
Tue, 14 Nov 2000 04:45:48 +0000 (04:45 +0000)
committeradrian <>
Tue, 14 Nov 2000 04:45:48 +0000 (04:45 +0000)
Submitted by: Andres Kroonmaa <andre@online.ee>

src/ftp.cc

index ec08aded7ecc21fdddc330ce41b8d2b81fd215b2..644494819ec2f9a3a4680b26fb2cf38a4f3848b5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.298 2000/11/13 12:25:12 adrian Exp $
+ * $Id: ftp.cc,v 1.299 2000/11/13 21:45:48 adrian Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
@@ -1482,7 +1482,7 @@ ftpTraverseDirectory(FtpStateData * ftpState)
     w = ftpState->pathcomps;
     ftpState->filepath = w->key;
     ftpState->pathcomps = w->next;
-    xfree(w);
+    memFree(w, MEM_WORDLIST);
     /* Check if we are to CWD or RETR */
     if (ftpState->pathcomps != NULL || ftpState->flags.isdir) {
        ftpSendCwd(ftpState);