summaryrefslogtreecommitdiff
path: root/usr.bin/rusers
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2001-06-19 03:48:26 +0000
committerMike Heffner <mikeh@FreeBSD.org>2001-06-19 03:48:26 +0000
commitb1a7433e0b06c3aa84d6fca95dbc11a1cb07324d (patch)
tree37444c939d549abb0a706a4321b2042c1ccab5b6 /usr.bin/rusers
parent98f858a6b282e3c2c3400635903f24af657e319f (diff)
downloadsrc-test2-b1a7433e0b06c3aa84d6fca95dbc11a1cb07324d.tar.gz
src-test2-b1a7433e0b06c3aa84d6fca95dbc11a1cb07324d.zip
Notes
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