From: wessels <> Date: Tue, 21 Jul 1998 04:16:35 +0000 (+0000) Subject: free bug X-Git-Tag: SQUID_3_0_PRE1~3033 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c34d125d081d2549aae0e8ecdb46261974e4cd2;p=thirdparty%2Fsquid.git free bug --- diff --git a/src/ftp.cc b/src/ftp.cc index 123bab9833..be093a643a 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.237 1998/07/20 19:30:26 wessels Exp $ + * $Id: ftp.cc,v 1.238 1998/07/20 22:16:35 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1088,8 +1088,8 @@ ftpParseControlReply(char *buf, size_t len, int *codep, int *used) *tail = list; tail = &list->next; } - safe_free(sbuf); *used = (int) (s - sbuf); + safe_free(sbuf); if (!complete) wordlistDestroy(&head); if (codep)