aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/rpc_thread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-01-09 21:52:40 +0000
committerUlrich Drepper <drepper@redhat.com>2008-01-09 21:52:40 +0000
commitf6bacb8ef4dfcee39864d6383e3660d8ac267d23 (patch)
tree44358c8479ad58985dd4270f7a7910c58d62e742 /sunrpc/rpc_thread.c
parentaa693c68be9fc19b88bef6806c77b8b4afa7a438 (diff)
downloadglibc-f6bacb8ef4dfcee39864d6383e3660d8ac267d23.zip
glibc-f6bacb8ef4dfcee39864d6383e3660d8ac267d23.tar.gz
glibc-f6bacb8ef4dfcee39864d6383e3660d8ac267d23.tar.bz2
[BZ #5541]
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and pollfd structures. Patch by André Cruz.
Diffstat (limited to 'sunrpc/rpc_thread.c')
-rw-r--r--sunrpc/rpc_thread.c2
1 files changed, 2 insertions, 0 deletions
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);