]> sjero.net Git - wget/blobdiff - src/ftp.c
[svn] Don't free RESPLINE if ftp_response returns a status other than FTPOK.
[wget] / src / ftp.c
index dd27349b19709f85ed7dc5504844e1d0942d1280..7b79b8e2100ff25a8c946f3172d25855a4282e61 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -999,7 +999,6 @@ Error in server response, closing control connection.\n"));
   err = ftp_response (csock, &respline);
   if (err != FTPOK)
     {
-      xfree (respline);
       /* The control connection is decidedly closed.  Print the time
         only if it hasn't already been printed.  */
       if (res != -1)