cleanups: prevent leak of two strduped strings in config.c