From: Thomas Mueller Date: Wed, 21 May 2003 15:45:05 +0000 (+0000) Subject: close-cellaliases-20030521 X-Git-Tag: openafs-devel-1_3_50~208 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ad98c8d9562f8d56ba8497467480a2de49e1527a;p=packages%2Fo%2Fopenafs.git close-cellaliases-20030521 FIXES 1481 don't leak a ref to CellAliases --- diff --git a/src/auth/cellconfig.c b/src/auth/cellconfig.c index d362919ac..31a691023 100644 --- a/src/auth/cellconfig.c +++ b/src/auth/cellconfig.c @@ -524,6 +524,7 @@ static int afsconf_OpenInternal(register struct afsconf_dir *adir, adir->alias_entries = curAlias; } + if (tf != NULL) fclose(tf); /* now read the fs keys, if possible */ adir->keystr = (struct afsconf_keys *) 0; afsconf_IntGetKeys(adir);