Skip to content

Commit

Permalink
in_forward: Plug a resource leak on exception (CID 508064)
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Nov 25, 2024
1 parent f202b96 commit e7759c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/in_forward/fw_prot.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ static int check_ping(struct flb_input_instance *ins,
flb_free(serverside);
flb_free(hostname);
flb_free(shared_key_salt);
flb_free(shared_key_digest);
msgpack_unpacked_destroy(&result);
return -1;
}
Expand Down

0 comments on commit e7759c2

Please sign in to comment.