Resource leak

CID:	1016703
Reviewed by:	alfred
This commit is contained in:
Pedro F. Giffuni 2015-02-01 23:19:06 +00:00
parent 424c16b2ce
commit 81cb3b156b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278039

View File

@ -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);