From: Kevin Day Date: Sun, 20 Dec 2020 00:18:06 +0000 (-0600) Subject: Security: free the memory of the environment variables map. X-Git-Tag: 0.5.2~7 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=0fbdaa31ac256825f9c00493d10f230d07dcb252;p=fll Security: free the memory of the environment variables map. Immediately after pushing my previous commit I suddenly noticed that I forgot to delete the newly added environment variables map. --- diff --git a/level_3/controller/c/private-rule.c b/level_3/controller/c/private-rule.c index 241a965..666ec89 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -491,6 +491,8 @@ extern "C" { if (status == F_child || status == F_signal) break; } // for + fl_string_maps_delete(&environment); + return status; } #endif // _di_controller_rule_execute_