diff --git a/ostree/ot-builtin-remote.c b/ostree/ot-builtin-remote.c index 7bb39fb5..f9d4a2ce 100644 --- a/ostree/ot-builtin-remote.c +++ b/ostree/ot-builtin-remote.c @@ -97,7 +97,7 @@ ostree_builtin_remote (int argc, char **argv, const char *repo_path, GError **er if (context) g_option_context_free (context); if (config) - g_key_file_unref (config); + g_key_file_free (config); g_clear_object (&repo); g_clear_object (&checkout); return ret;