Skip to content

Commit

Permalink
config_format: fix possible double fclose
Browse files Browse the repository at this point in the history
  • Loading branch information
peter15914 committed Jan 4, 2025
1 parent 09214eb commit 37fe0f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config_format/flb_cf_fluentbit.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,7 @@ static int read_config(struct flb_cf *cf, struct local_ctx *ctx,

if (f) {
fclose(f);
f = NULL;
}

if (indent) {
Expand Down

0 comments on commit 37fe0f9

Please sign in to comment.