diff --git a/src/modules/http/src/httpServer.c b/src/modules/http/src/httpServer.c index 97bfc6a11821dc5b9169bf25ae3ebf533f0b14e9..863d5556e99f22da8067179b5d9115b5e1063dc8 100644 --- a/src/modules/http/src/httpServer.c +++ b/src/modules/http/src/httpServer.c @@ -137,6 +137,8 @@ void httpCleanUpContext(HttpThread *pThread, HttpContext *pContext) { pContext->signature = 0; pContext->fd = -1; pContext->pThread = 0; + pContext->prev = 0; + pContext->next = 0; // avoid double free httpFreeJsonBuf(pContext);