Skip to content

Commit

Permalink
output: Remove a needless calling of flb_output_instance_destroy() (C…
Browse files Browse the repository at this point in the history
…ID 507809)

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Aug 26, 2024
1 parent 4427d42 commit 13ac288
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/flb_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 13ac288

Please sign in to comment.