Skip to content

Commit 67b1443

Browse files
committed
config_format: on exception return NULL
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 5ff0f12 commit 67b1443

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config_format/flb_cf_fluentbit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ struct flb_cf *flb_cf_fluentbit_create(struct flb_cf *cf,
742742

743743
if (ret == -1 && created) {
744744
flb_cf_destroy(cf);
745+
return NULL;
745746
}
746747

747748
return cf;

0 commit comments

Comments
 (0)