aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/xwrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index b7eb2741..6216d918 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -94,6 +94,7 @@ void xprintf(char *format, ...)
va_start(va, format);
vprintf(format, va);
+ va_end(va);
if (fflush(stdout) || ferror(stdout)) perror_exit("write");
}