Skip to content

Commit

Permalink
in_calyptia_fleet: remove premature return which leads to a memory leak.
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Nov 3, 2023
1 parent fff675c commit a23272d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions plugins/in_calyptia_fleet/in_calyptia_fleet.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,9 +936,6 @@ static int in_calyptia_fleet_collect(struct flb_input_instance *ins,
flb_sds_destroy(cfgoldname);
goto reload_error;
}
else {
FLB_INPUT_RETURN(0);
}
}

ret = 0;
Expand Down

0 comments on commit a23272d

Please sign in to comment.