about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/libc_fatal.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-13 05:43:36 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-13 05:43:36 +0000
commit37fa1953d539cc34c33b48bc66a64f5c01dbc1fd (patch)
treef4691635b5f6d3dec57f28abad2aa8b6fc67e667 /sysdeps/unix/sysv/linux/libc_fatal.c
parenta9055cab7ac609b96984179194c7a2ec410c8e2b (diff)
downloadglibc-37fa1953d539cc34c33b48bc66a64f5c01dbc1fd.tar.gz
glibc-37fa1953d539cc34c33b48bc66a64f5c01dbc1fd.tar.xz
glibc-37fa1953d539cc34c33b48bc66a64f5c01dbc1fd.zip
Update.
	* malloc/malloc.c (_int_free): Remove test for NULL parameter.
	(_int_realloc): Call _int_free only if memory parameter is not NULL.
Diffstat (limited to 'sysdeps/unix/sysv/linux/libc_fatal.c')
-rw-r--r--sysdeps/unix/sysv/linux/libc_fatal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/libc_fatal.c b/sysdeps/unix/sysv/linux/libc_fatal.c
index 898be00604..c0482d96f3 100644
--- a/sysdeps/unix/sysv/linux/libc_fatal.c
+++ b/sysdeps/unix/sysv/linux/libc_fatal.c
@@ -141,6 +141,8 @@ __libc_message (int do_abort, const char *fmt, ...)
   if (! written)
     vsyslog (LOG_ERR, fmt, ap_copy);
 
+  va_end (ap_copy);
+
   if (do_abort)
     /* Terminate the process.  */
     abort ();