fix the crash while the num of http fds is zero
This commit is contained in:
parent
3caa833db0
commit
9d618b4e91
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue