[ConfigManager] Add a missing g_error_free().