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 authored and edsiper committed Oct 29, 2023
1 parent 2587b5b commit 147b1eb
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 147b1eb

Please sign in to comment.