Is there any reason why we can't free this memory in the loop where we call `config_free`?