diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/error.c b/misc/error.c index b4e8b6c..03378e2 100644 --- a/misc/error.c +++ b/misc/error.c @@ -319,6 +319,7 @@ error (int status, int errnum, const char *message, ...) va_start (args, message); error_tail (status, errnum, message, args); + va_end (args); #ifdef _LIBC _IO_funlockfile (stderr); @@ -390,6 +391,7 @@ error_at_line (int status, int errnum, const char *file_name, va_start (args, message); error_tail (status, errnum, message, args); + va_end (args); #ifdef _LIBC _IO_funlockfile (stderr); |