projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa5f0e0
)
* one more place to NULL it
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 26 Nov 2009 23:28:05 +0000
(23:28 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 26 Nov 2009 23:28:05 +0000
(23:28 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 841021ee271f010bc64e54ce6e761aaa6a075590..9c2393b9f0d3c5acb32bb4215687828a8b28a4a7 100644
(file)
--- a/
webcit/tcp_sockets.c
+++ b/
webcit/tcp_sockets.c
@@
-781,6
+781,7
@@
SessionDestroyModule_TCPSOCKETS
{
FreeStrBuf(&sess->CLineBuf);
FreeStrBuf(&sess->ReadBuf);
{
FreeStrBuf(&sess->CLineBuf);
FreeStrBuf(&sess->ReadBuf);
+ sess->ReadPos = NULL;
FreeStrBuf(&sess->MigrateReadLineBuf);
if (sess->serv_sock > 0)
close(sess->serv_sock);
FreeStrBuf(&sess->MigrateReadLineBuf);
if (sess->serv_sock > 0)
close(sess->serv_sock);