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.
This commit is contained in:
Christopher Faulet 2020-05-21 09:59:22 +02:00
parent 73b943b964
commit 63d4824f64
1 changed files with 1 additions and 0 deletions

View File

@ -993,6 +993,7 @@ void release_http_reply(struct http_reply *http_reply)
free(lf);
}
}
free(http_reply);
}
static int http_htx_init(void)