From 39d07bba0b424dc6e6ba07a0a9872fc1fd289d88 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Mon, 25 Nov 2024 09:57:18 +0900 Subject: [PATCH] plugin: Plug a use-after-free issue (CID 514582) Signed-off-by: Hiroshi Hatake --- src/flb_plugin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flb_plugin.c b/src/flb_plugin.c index d55fced3287..7e259f67711 100644 --- a/src/flb_plugin.c +++ b/src/flb_plugin.c @@ -428,7 +428,6 @@ int flb_plugin_load_config_file(const char *file, struct flb_config *config) */ ret = flb_plugin_load_config_format(cf, config); if (ret == -1) { - flb_cf_destroy(cf); return -1; }