From 13ac2889f7a7e8fcbe25aa198ec16687e19e7a3f Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Mon, 26 Aug 2024 19:06:39 +0900 Subject: [PATCH] output: Remove a needless calling of flb_output_instance_destroy() (CID 507809) Signed-off-by: Hiroshi Hatake --- src/flb_output.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flb_output.c b/src/flb_output.c index 1c7853f79f1..0c9a7cc1333 100644 --- a/src/flb_output.c +++ b/src/flb_output.c @@ -1044,7 +1044,6 @@ int flb_output_plugin_property_check(struct flb_output_instance *ins, if (!config_map) { flb_error("[output] error loading config map for '%s' plugin", p->name); - flb_output_instance_destroy(ins); return -1; } ins->config_map = config_map;