Date: Sat, 3 Dec 2016 18:26:41 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r309497 - stable/10/lib/libc/rpc Message-ID: <201612031826.uB3IQfUF040580@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Dec 3 18:26:41 2016 New Revision: 309497 URL: https://svnweb.freebsd.org/changeset/base/309497 Log: MFC r278039: r278039 (by pfg): Resource leak CID: 1016703 Modified: stable/10/lib/libc/rpc/crypt_client.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/rpc/crypt_client.c ============================================================================== --- stable/10/lib/libc/rpc/crypt_client.c Sat Dec 3 18:25:23 2016 (r309496) +++ stable/10/lib/libc/rpc/crypt_client.c Sat Dec 3 18:26:41 2016 (r309497) @@ -61,6 +61,7 @@ _des_crypt_call(char *buf, int len, stru } if (nconf == NULL) { warnx("getnetconfig: %s", nc_sperror()); + endnetconfig(localhandle); return(DESERR_HWERROR); } clnt = clnt_tp_create(NULL, CRYPT_PROG, CRYPT_VERS, nconf);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612031826.uB3IQfUF040580>