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;
