Skip to content

Commit 7a4004b

Browse files
cosmo0920edsiper
authored andcommitted
plugin: Plug a use-after-free issue (CID 514582)
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent da1a97b commit 7a4004b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/flb_plugin.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ int flb_plugin_load_config_file(const char *file, struct flb_config *config)
428428
*/
429429
ret = flb_plugin_load_config_format(cf, config);
430430
if (ret == -1) {
431-
flb_cf_destroy(cf);
432431
return -1;
433432
}
434433

0 commit comments

Comments
 (0)