summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 176d6996..7934c4da 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -171,6 +171,7 @@ user_display(const userec_t * u, int adminmode)
fgets(genbuf, 200, fp);
fgets(genbuf, 200, fp);
prints("%12s´Ñ°ê¦Û§Ú´y­z: %s", chess_type[i], genbuf + 11);
+ fclose(fp);
}
}
}
@@ -1096,6 +1097,7 @@ showplans_userec(userec_t *user)
i++;
}
+ fclose(fp);
if (user_query_mode == 1) {
win = user->five_win;