/*
- * $Id: ftp.cc,v 1.236 1998/07/20 19:25:31 wessels Exp $
+ * $Id: ftp.cc,v 1.237 1998/07/20 19:30:26 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
debug(9, 3) ("ftpParseControlReply: usable = %d\n", usable);
if (usable == 0) {
debug(9, 3) ("ftpParseControlReply: didn't find end of line\n");
- xfree(sbuf);
+ safe_free(sbuf);
return NULL;
}
debug(9, 3) ("ftpParseControlReply: %d bytes to play with\n", len);
*tail = list;
tail = &list->next;
}
+ safe_free(sbuf);
*used = (int) (s - sbuf);
if (!complete)
wordlistDestroy(&head);