Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 08:53:30 +0000 (08:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Aug 2000 08:53:30 +0000 (08:53 +0000)
2000-08-24  Ulrich Drepper  <drepper@redhat.com>

* resolv/res_hconf.c (free_mem): Remove not needed if.

* time/tzset.c (free_mem): New function.
* string/strsignal.c (free_mem): New function.
* inet/inet_ntoa.c (free_mem): New function.
* sunrpc/clnt_perr.c (free_mem): New function.

ChangeLog
inet/inet_ntoa.c
string/strsignal.c
sunrpc/clnt_perr.c

index ddaa3f53101967e0bd0ca4b4ac2378b9e0720e6f..bd7524e9cc487193ae3ea29d14e406d6ec155cd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2000-08-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_hconf.c (free_mem): Remove not needed if.
+
+       * time/tzset.c (free_mem): New function.
+       * string/strsignal.c (free_mem): New function.
+       * inet/inet_ntoa.c (free_mem): New function.
+       * sunrpc/clnt_perr.c (free_mem): New function.
+
 2000-08-24  Andreas Jaeger  <aj@suse.de>
 
        * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
index d9c3153abad5808a97944a1ff88fce7d76c15d87..83c18658a940f2582e73346d56911c055e5c67f4 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert Inet number to ASCII representation.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -96,3 +96,11 @@ free_key_mem (void *mem)
   free (mem);
   __libc_setspecific (key, NULL);
 }
+
+
+static void __attribute__ ((unused))
+free_mem (void)
+{
+  free (static_buf);
+}
+text_set_element (__libc_subfreeres, free_mem);
index a9d7233ec82943d07088396f1f6476aead3dd690..36a4450d545530cbe082282489cb770d6e6759a6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -130,3 +130,11 @@ getbuffer (void)
 
   return result;
 }
+
+
+static void
+free_mem (void)
+{
+  free (static_buf);
+}
+text_set_element (__libc_subfreeres, free_mem);
index ba95d07ce84ee035337396d7fbdd6e37fd33565e..6c33c32d2fa218e6b71ae6f3018c14356835b7d8 100644 (file)
@@ -383,3 +383,11 @@ auth_errmsg (enum auth_stat stat)
     }
   return NULL;
 }
+
+
+static void __attribute__ ((unused))
+free_mem (void)
+{
+  free (buf);
+}
+text_set_element (__libc_subfreeres, free_mem);