From 6200bb20c347d0004e1a3723a105ca6c83fbb7b7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 17 Feb 2024 21:48:32 -0600 Subject: [PATCH] Bugfix: De-allocation call is missing in firewall program when "firewall stop" is used. Fix a spot where the de-allocation is not performed. --- level_3/firewall/c/firewall.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 1.8.3.1