diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index 9b29ed812..0bd2a9bc4 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -284,6 +284,7 @@ command (char *fmt,...) printf("PASS XXXX"); else vfprintf(stdout, fmt, ap); + va_end(ap); va_start(ap, fmt); } sec_vfprintf(cout, fmt, ap);