if (code) {
fprintf(stderr,
"libprot: Could not get local cell. [%d]\n", code);
+ afsconf_Close(tdir);
return code;
}
if (code) {
fprintf(stderr, "libprot: Could not locate cell %s in %s/%s\n",
cellstr, confDir, AFSDIR_CELLSERVDB_FILE);
+ afsconf_Close(tdir);
return code;
}
- afsconf_Close(tdir);
-
code = rx_Init(0);
if (code) {
fprintf(stderr, "libprot: Could not initialize rx.\n");
+ afsconf_Close(tdir);
return code;
}
if (code) {
com_err("fileserver", code, "ubik client init failed.");
}
-
+ afsconf_Close(tdir);
code = rxs_Release(sc[scIndex]);
return code;
}