summaryrefslogtreecommitdiff
path: root/usr.bin/rusers
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rusers')
-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 0605a6123749..2322c98b26ef 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