Forget to close file
Submitted by: SANETO Takanori sanewo@strg.sony.co.jp
This commit is contained in:
parent
31f993e53f
commit
431553c00a
@ -86,6 +86,7 @@ setrunelocale(encoding)
|
||||
fclose(fp);
|
||||
return(EFTYPE);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
if (!rl->encoding[0] || !strcmp(rl->encoding, "UTF2")) {
|
||||
return(_UTF2_init(rl));
|
||||
|
@ -186,6 +186,7 @@ startup_setrunelocale(encoding)
|
||||
fclose(fp);
|
||||
return(EFTYPE);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
if (!rl->encoding[0])
|
||||
return(EINVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user