]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
free bug
authorwessels <>
Tue, 21 Jul 1998 04:16:35 +0000 (04:16 +0000)
committerwessels <>
Tue, 21 Jul 1998 04:16:35 +0000 (04:16 +0000)
src/ftp.cc

index 123bab9833dfa875460d6ae43ff500be1648e532..be093a643a136d279fe883b79cebd5152e375d4c 100644 (file)
@@ -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)