summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PICA_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PICA_node.c b/PICA_node.c
index 08c8808..914747f 100644
--- a/PICA_node.c
+++ b/PICA_node.c
@@ -1743,6 +1743,7 @@ ret:
void newconn_free(struct newconn* nc)
{
nc->sck = -1;
+ nc->iconn.cl = NULL;
//nc->pos=0; - pos value is being used in processmsgdatastream
}