Skip to content

Commit

Permalink
reload: add missing flb_cf_destroy (#8042)
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <nokute78@gmail.com>
  • Loading branch information
nokute78 authored and leonardo-albertovich committed Nov 3, 2023
1 parent 502a209 commit e4a4b5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flb_reload.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ int flb_reload(flb_ctx_t *ctx, struct flb_cf *cf_opts)
if (file != NULL) {
flb_sds_destroy(file);
}
flb_cf_destroy(new_cf);
flb_error("[reload] reconstruct cf failed");
return -1;
}
Expand Down

0 comments on commit e4a4b5f

Please sign in to comment.