Resource leak

CID:	1016703
Reviewed by:	alfred
This commit is contained in:
pfg 2015-02-01 23:19:06 +00:00
parent 6bc8b6eb4c
commit af9bc93dfb

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