Merge branch 'develop' into xiaoping/add_test_case
This commit is contained in:
commit
42eead99a0
|
@ -239,6 +239,10 @@ JsonBuf *httpMallocJsonBuf(HttpContext *pContext) {
|
|||
pContext->jsonBuf = (JsonBuf *)malloc(sizeof(JsonBuf));
|
||||
}
|
||||
|
||||
if (!pContext->jsonBuf->pContext) {
|
||||
pContext->jsonBuf->pContext = pContext;
|
||||
}
|
||||
|
||||
return pContext->jsonBuf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue