tool_cfgable: Introduced config_free() function