Blame SOURCES/glibc-rh1615781.patch
|
|
50f89d |
commit d05b05d1570ba3ae354a2f5a3cfeefb373b09979
|
|
|
50f89d |
Author: Florian Weimer <fweimer@redhat.com>
|
|
|
50f89d |
Date: Mon Aug 13 14:28:07 2018 +0200
|
|
|
50f89d |
|
|
|
50f89d |
error, error_at_line: Add missing va_end calls
|
|
|
50f89d |
|
|
|
50f89d |
(cherry picked from commit b7b52b9dec337a08a89bc67638773be652eba332)
|
|
|
50f89d |
|
|
|
50f89d |
diff --git a/misc/error.c b/misc/error.c
|
|
|
50f89d |
index b4e8b6c93886b737..03378e2f2aa6251e 100644
|
|
|
50f89d |
--- a/misc/error.c
|
|
|
50f89d |
+++ b/misc/error.c
|
|
|
50f89d |
@@ -319,6 +319,7 @@ error (int status, int errnum, const char *message, ...)
|
|
|
50f89d |
|
|
|
50f89d |
va_start (args, message);
|
|
|
50f89d |
error_tail (status, errnum, message, args);
|
|
|
50f89d |
+ va_end (args);
|
|
|
50f89d |
|
|
|
50f89d |
#ifdef _LIBC
|
|
|
50f89d |
_IO_funlockfile (stderr);
|
|
|
50f89d |
@@ -390,6 +391,7 @@ error_at_line (int status, int errnum, const char *file_name,
|
|
|
50f89d |
|
|
|
50f89d |
va_start (args, message);
|
|
|
50f89d |
error_tail (status, errnum, message, args);
|
|
|
50f89d |
+ va_end (args);
|
|
|
50f89d |
|
|
|
50f89d |
#ifdef _LIBC
|
|
|
50f89d |
_IO_funlockfile (stderr);
|