Forget to close file

Submitted by: SANETO Takanori sanewo@strg.sony.co.jp
This commit is contained in:
Andrey A. Chernov 1995-08-11 08:44:31 +00:00
parent 72348d41ba
commit 48b9e85079
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10026
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@ setrunelocale(encoding)
fclose(fp);
return(EFTYPE);
}
fclose(fp);
if (!rl->encoding[0] || !strcmp(rl->encoding, "UTF2")) {
return(_UTF2_init(rl));

View File

@ -186,6 +186,7 @@ startup_setrunelocale(encoding)
fclose(fp);
return(EFTYPE);
}
fclose(fp);
if (!rl->encoding[0])
return(EINVAL);