From c9e1f793178d03cd4302fa440915770f7c890a0d Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 17 Sep 2020 07:07:27 +0000 Subject: [PATCH] git commit -m 'memory leak in restful while close context' --- src/plugins/http/src/httpContext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/http/src/httpContext.c b/src/plugins/http/src/httpContext.c index 9238869375..6abd382f8e 100644 --- a/src/plugins/http/src/httpContext.c +++ b/src/plugins/http/src/httpContext.c @@ -230,4 +230,5 @@ void httpCloseContextByServer(HttpContext *pContext) { pContext->parsed = false; httpRemoveContextFromEpoll(pContext); + httpReleaseContext(pContext, true); } -- GitLab