NETCFG: first free the configs, then the infrastructure needed to free them.