--- embedaddon/libnet/src/libnet_cq.c 2013/07/22 11:54:42 1.1.1.2 +++ embedaddon/libnet/src/libnet_cq.c 2016/10/18 13:11:47 1.1.1.2.2.1 @@ -1,5 +1,5 @@ /* - * $Id: libnet_cq.c,v 1.1.1.2 2013/07/22 11:54:42 misho Exp $ + * $Id: libnet_cq.c,v 1.1.1.2.2.1 2016/10/18 13:11:47 misho Exp $ * * libnet * libnet_cq.c - context queue management routines @@ -344,6 +344,8 @@ libnet_cq_destroy() libnet_destroy(tmp->context); free(tmp); } + l_cq = NULL; + memset(&l_cqd, 0, sizeof(l_cqd)); } libnet_t *