From f6bacb8ef4dfcee39864d6383e3660d8ac267d23 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 9 Jan 2008 21:52:40 +0000 Subject: [BZ #5541] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and pollfd structures. Patch by André Cruz. --- sunrpc/rpc_thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sunrpc') diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c index 91e94c2..7a9cc9d 100644 --- a/sunrpc/rpc_thread.c +++ b/sunrpc/rpc_thread.c @@ -29,6 +29,8 @@ __rpc_thread_destroy (void) free (tvp->svcraw_private_s); free (tvp->authdes_cache_s); free (tvp->authdes_lru_s); + free (tvp->svc_xports_s); + free (tvp->svc_pollfd_s); if (tvp != &__libc_tsd_RPC_VARS_mem) free (tvp); __libc_tsd_set (RPC_VARS, NULL); -- cgit v1.1