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