:: commit b0ea0c59120499eaab34046e0c78559847fa9681

Mintsuki <mintsuki@protonmail.com> — 2026-02-08 05:58

parents: 6c4169bc9f

lib/config: Reset macros pointer to NULL after freeing macro list

diff --git a/common/lib/config.c b/common/lib/config.c
index 6d562615..5493a931 100644
--- a/common/lib/config.c
+++ b/common/lib/config.c
@@ -567,6 +567,7 @@ overflow:
             pmm_free(macro, sizeof(struct macro));
             macro = next;
         }
+        macros = NULL;
     }
 
     config_ready = true;
tab: 248 wrap: offon