about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_perr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c
index ba95d07ce8..6c33c32d2f 100644
--- a/sunrpc/clnt_perr.c
+++ b/sunrpc/clnt_perr.c
@@ -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);