From 7831ae81c291737f2e6d30da4c5c4b53f9e5a597 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 9 Sep 2012 10:42:13 -0400 Subject: [PATCH] update-kernel: Fix free -> g_object_unref --- src/ostree/ot-admin-builtin-update-kernel.c | 4 ++-- 1 file 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 d69b57bd..df2d575f 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;