summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/mail.local/mail.local.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.sbin/sendmail/mail.local/mail.local.c')
-rw-r--r--gnu/usr.sbin/sendmail/mail.local/mail.local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.sbin/sendmail/mail.local/mail.local.c b/gnu/usr.sbin/sendmail/mail.local/mail.local.c
index 5b346d565d3..971273a12f0 100644
--- a/gnu/usr.sbin/sendmail/mail.local/mail.local.c
+++ b/gnu/usr.sbin/sendmail/mail.local/mail.local.c
@@ -1442,6 +1442,7 @@ mailerr(hdr, fmt, va_alist)
}
}
(void) vsnprintf(&ErrBuf[len], sizeof ErrBuf - len, fmt, ap);
+ va_end(ap);
if (!HoldErrs)
flush_error();