[ostree] update-kernel: Fix free -> g_object_unref



commit 7831ae81c291737f2e6d30da4c5c4b53f9e5a597
Author: Colin Walters <walters verbum org>
Date:   Sun Sep 9 10:42:13 2012 -0400

    update-kernel: Fix free -> g_object_unref

 src/ostree/ot-admin-builtin-update-kernel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostree/ot-admin-builtin-update-kernel.c b/src/ostree/ot-admin-builtin-update-kernel.c
index d69b57b..df2d575 100644
--- a/src/ostree/ot-admin-builtin-update-kernel.c
+++ b/src/ostree/ot-admin-builtin-update-kernel.c
@@ -84,8 +84,8 @@ update_initramfs (OtAdminUpdateKernel  *self,
       ot_lptrarray GPtrArray *mkinitramfs_args = NULL;
       ot_lobj GFile *tmpdir = NULL;
       ot_lfree char *initramfs_tmp_path = NULL;
-      ot_lfree GFile *ostree_vardir = NULL;
-      ot_lfree GFile *ostree_moduledir = NULL;
+      ot_lobj GFile *ostree_vardir = NULL;
+      ot_lobj GFile *ostree_moduledir = NULL;
       ot_lobj GFile *initramfs_tmp_file = NULL;
       ot_lobj GFileInfo *initramfs_tmp_info = NULL;
           



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