From 63d4824f646e51a4a13a960f9fd9db5a35dcad16 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 21 May 2020 09:59:22 +0200 Subject: [PATCH] BUG/MINOR: http-htx: Don't forget to release the http reply in release function The http reply must be released in the function responsible to release it. This leak was introduced when the http return was refactored to use http reply. This patch should partly fix the issue #645. No backport needed. --- src/http_htx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http_htx.c b/src/http_htx.c index aabf1a598..e1b779331 100644 --- a/src/http_htx.c +++ b/src/http_htx.c @@ -993,6 +993,7 @@ void release_http_reply(struct http_reply *http_reply) free(lf); } } + free(http_reply); } static int http_htx_init(void)