summaryrefslogtreecommitdiffstats
path: root/usr.bin/rusers/rusers.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rusers/rusers.c')
-rw-r--r--usr.bin/rusers/rusers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index 0605a61..2322c98 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -191,6 +191,7 @@ onehost(char *host)
errx(1, "%s", clnt_sperror(rusers_clnt, ""));
addr.sin_addr.s_addr = *(int *)hp->h_addr;
rusers_reply((caddr_t)&up, &addr);
+ clnt_destroy(rusers_clnt);
}
void
OpenPOWER on IntegriCloud