]> Kevux Git Server - fll/commitdiff
Bugfix: De-allocation call is missing in firewall program when "firewall stop" is...
authorKevin Day <kevin@kevux.org>
Sun, 18 Feb 2024 03:48:32 +0000 (21:48 -0600)
committerKevin Day <kevin@kevux.org>
Sun, 18 Feb 2024 03:48:32 +0000 (21:48 -0600)
Fix a spot where the de-allocation is not performed.

level_3/firewall/c/firewall.c

index fcf0537de533bee32303582f6cd9b953af91991e..ef6812a767bf2ec7ad3d6121e92ee76fa8333559 100644 (file)
@@ -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;
             }