summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/socket.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index b7d99fd6f..ac6846cb9 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -1073,10 +1073,9 @@ void socket_final(void)
aFree(access_deny);
#endif
- for (i = 1; i < fd_max; i++) {
+ for( i = 1; i < fd_max; i++ )
if(session[i])
- delete_session(i);
- }
+ do_close(i);
// session[0] のダミーデータを削除
aFree(session[0]->rdata);