From af9bc93dfbffeb34066bd80ee1ff52010498b94c Mon Sep 17 00:00:00 2001 From: pfg Date: Sun, 1 Feb 2015 23:19:06 +0000 Subject: Resource leak CID: 1016703 Reviewed by: alfred --- lib/libc/rpc/crypt_client.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/libc/rpc/crypt_client.c b/lib/libc/rpc/crypt_client.c index 4e5c793..5290021 100644 --- a/lib/libc/rpc/crypt_client.c +++ b/lib/libc/rpc/crypt_client.c @@ -64,6 +64,7 @@ _des_crypt_call(buf, len, dparms) } if (nconf == NULL) { warnx("getnetconfig: %s", nc_sperror()); + endnetconfig(localhandle); return(DESERR_HWERROR); } clnt = clnt_tp_create(NULL, CRYPT_PROG, CRYPT_VERS, nconf); -- cgit v1.1