[ostree] core: Fix build with glib 2.30



commit 6e05f78f12154dd48e0498e3d62f47cd9b5cc712
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 14 15:26:45 2011 -0500

    core: Fix build with glib 2.30

 ostree/ot-builtin-remote.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ostree/ot-builtin-remote.c b/ostree/ot-builtin-remote.c
index 7bb39fb..f9d4a2c 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]