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 <[email protected]>
  • Loading branch information
nokute78 authored Oct 17, 2023
1 parent b5c18d9 commit fe0debf
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 fe0debf

Please sign in to comment.