From 1d9ef25f5923c4e05732a1124c4dc9d62aee1765 Mon Sep 17 00:00:00 2001 From: Chris Spiegel Date: Mon, 22 Dec 2014 10:50:25 -0800 Subject: [PATCH] Add closing va_end() call. --- ocx_stdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ocx_stdio.c b/ocx_stdio.c index e95458a..e146b47 100644 --- a/ocx_stdio.c +++ b/ocx_stdio.c @@ -94,6 +94,7 @@ putv(struct ocx *ocx, enum ocx_chan chan, const char *fmt, va_list ap) (void)vfprintf(dst, fmt, ap); if (chan == OCX_DIAG) vsyslog(LOG_ERR, fmt, ap2); + va_end(ap2); } /**********************************************************************