Skip to content

Commit

Permalink
reload: add missing flb_cf_destroy
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 committed Oct 14, 2023
1 parent 8401076 commit 27c6990
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 27c6990

Please sign in to comment.