summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton <anton@picapica>2019-02-24 22:33:37 +0400
committerAnton <anton@picapica>2019-02-24 22:33:37 +0400
commite37b06f98815072af7045c95482d554d23ae4cbd (patch)
treea63e92f0c8a80f84d016c7748c195a26c71447a7
parent389281c4f525290149e1dc35443ccff10d1a9f5b (diff)
downloadpica-pica-e37b06f98815072af7045c95482d554d23ae4cbd.tar.gz
pica-pica-e37b06f98815072af7045c95482d554d23ae4cbd.zip
pica-node: bugfix, clear client/cclink pointer in newconn_free()
-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
}