From: adrian <> Date: Tue, 14 Nov 2000 04:45:48 +0000 (+0000) Subject: Fix an incorrect xfree() which should be a memFree(). Oops. X-Git-Tag: SQUID_3_0_PRE1~1772 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c20c6a554a69c1357a36abe7e5ea6cd4704ea11;p=thirdparty%2Fsquid.git Fix an incorrect xfree() which should be a memFree(). Oops. Submitted by: Andres Kroonmaa --- diff --git a/src/ftp.cc b/src/ftp.cc index ec08aded7e..644494819e 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -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);