From 8602394040fa5754ce8159302a56d0d304b0a0c6 Mon Sep 17 00:00:00 2001 From: William Dauchy Date: Sat, 11 Jan 2020 11:40:42 +0100 Subject: [PATCH] CLEANUP: compression: remove unused deinit_comp_ctx section Since commit 27d93c3f9428 ("BUG/MAJOR: compression/cache: Make it really works with these both filters"), we no longer use section deinit_comp_ctx. This should fix github issue #441 Signed-off-by: William Dauchy --- src/flt_http_comp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c index e98ff46ba..574b93734 100644 --- a/src/flt_http_comp.c +++ b/src/flt_http_comp.c @@ -577,8 +577,6 @@ select_compression_response_header(struct comp_state *st, struct stream *s, stru msg->flags |= HTTP_MSGF_COMPRESSING; return 1; - deinit_comp_ctx: - st->comp_algo->end(&st->comp_ctx); fail: st->comp_algo = NULL; return 0;