From f49176aabef7a30dac3ea10eecdd565979082ea6 Mon Sep 17 00:00:00 2001 From: jzajic Date: Tue, 29 Nov 2022 10:42:05 +0100 Subject: [PATCH] proxy: #6469 fix input plugin destroy --- src/flb_plugin_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flb_plugin_proxy.c b/src/flb_plugin_proxy.c index 00c7931ae8d..7cebafac868 100644 --- a/src/flb_plugin_proxy.c +++ b/src/flb_plugin_proxy.c @@ -234,7 +234,7 @@ static int flb_proxy_input_cb_exit(void *in_context, struct flb_config *config) if (proxy->def->proxy == FLB_PROXY_GOLANG) { #ifdef FLB_HAVE_PROXY_GO - proxy_go_output_destroy(ctx); + proxy_go_input_destroy(ctx); #endif }