Free modules before mainconfig

some modules may have pointer to CONF_SECTIONS buried.
If the order is different, then the CONF_SECTION is free'd out
from under the module