nyx: utilize ini free and fix various memleaks
With the new changes the heap and heap node usage drops 95% on boot. Subsequent accesses to Launch/More config keep the counter the same.
This commit is contained in:
@@ -247,6 +247,8 @@ void load_saved_configuration()
|
||||
}
|
||||
}
|
||||
|
||||
ini_free(&ini_sections);
|
||||
|
||||
skip_main_cfg_parse:
|
||||
if (!ini_parse(&ini_nyx_sections, "bootloader/nyx.ini", false))
|
||||
return;
|
||||
@@ -282,6 +284,8 @@ skip_main_cfg_parse:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
ini_free(&ini_nyx_sections);
|
||||
}
|
||||
|
||||
#define EXCP_EN_ADDR 0x4003FFFC
|
||||
|
||||
Reference in New Issue
Block a user