[SETUPLIB] Add support for removing sections and key values, and remove some hacks (#6815)
- Use LIST_ENTRY instead of custom list pointers;- Fix key/section unlinking before freeing.
Hermès Bélusca-Maïto 2 years ago e151ef9a b9ca9b00