:: commit 45cfdc4833ba446e2466bc384b80e079d972cc39

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

parents: 05ca955d2c

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