about summary refs log tree commit diff
path: root/inet/inet_ntoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet_ntoa.c')
-rw-r--r--inet/inet_ntoa.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/inet/inet_ntoa.c b/inet/inet_ntoa.c
index d9c3153aba..83c18658a9 100644
--- a/inet/inet_ntoa.c
+++ b/inet/inet_ntoa.c
@@ -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);