From: Kevin Day Date: Sun, 18 Feb 2024 03:48:32 +0000 (-0600) Subject: Bugfix: De-allocation call is missing in firewall program when "firewall stop" is... X-Git-Tag: 0.6.9~25 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=6200bb20c347d0004e1a3723a105ca6c83fbb7b7;p=fll Bugfix: De-allocation call is missing in firewall program when "firewall stop" is used. Fix a spot where the de-allocation is not performed. --- diff --git a/level_3/firewall/c/firewall.c b/level_3/firewall/c/firewall.c index fcf0537..ef6812a 100644 --- a/level_3/firewall/c/firewall.c +++ b/level_3/firewall/c/firewall.c @@ -515,6 +515,7 @@ extern "C" { if (F_status_is_error(status) || command == firewall_parameter_command_stop_e || status == F_child) { firewall_delete_local_data(&local); + firewall_data_delete(&data); return status; }