svn commit: r309497 - stable/10/lib/libc/rpc
Ngie Cooper
ngie at FreeBSD.org
Sat Dec 3 18:26:42 UTC 2016
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);
More information about the svn-src-all
mailing list