From: Thomas Mueller Date: Wed, 21 May 2003 15:45:27 +0000 (+0000) Subject: STABLE12-close-cellaliases-20030521 X-Git-Tag: openafs-stable-1_2_10~58 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3b4f64c886ddd055221aac291cd9a9dee5e17857;p=packages%2Fo%2Fopenafs.git STABLE12-close-cellaliases-20030521 FIXES 1481 don't leak a ref to CellAliases (cherry picked from commit ad98c8d9562f8d56ba8497467480a2de49e1527a) --- diff --git a/src/auth/cellconfig.c b/src/auth/cellconfig.c index 3633b6433..92d7e976e 100644 --- a/src/auth/cellconfig.c +++ b/src/auth/cellconfig.c @@ -512,6 +512,7 @@ char clones[]; 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);