projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* shrinked the rest of these shutdown stuff into the module-handler.
[citadel.git]
/
webcit
/
tcp_sockets.c
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 42419b179ed28ce2a5dad341b10cff24e8b3039b..9c74b5782b8a4c1a094c7ecde2832426f81135f8 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-686,4
+686,6
@@
SessionDestroyModule_TCPSOCKETS
FreeStrBuf(&sess->CLineBuf);
FreeStrBuf(&sess->ReadBuf);
FreeStrBuf(&sess->MigrateReadLineBuf);
+ if (sess->serv_sock > 0)
+ close(sess->serv_sock);
}