summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-checksum.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-04-09 15:03:53 -0400
committerColin Walters <walters@verbum.org>2012-04-09 15:57:46 -0400
commit394fe7547172f259411b0e31ccb9a3ab27f93b75 (patch)
tree078480a8ebd04db0b8c2e0dec9a0670aa4d696a0 /src/ostree/ot-builtin-checksum.c
parent8b6bf09d7acf58282e59bfe566bdbb17d2e8700d (diff)
downloadostree-394fe7547172f259411b0e31ccb9a3ab27f93b75.tar.gz
core: Port builtins to local alloc macros
Diffstat (limited to 'src/ostree/ot-builtin-checksum.c')
-rw-r--r--src/ostree/ot-builtin-checksum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ostree/ot-builtin-checksum.c b/src/ostree/ot-builtin-checksum.c
index 2e5f665d..ad33394a 100644
--- a/src/ostree/ot-builtin-checksum.c
+++ b/src/ostree/ot-builtin-checksum.c
@@ -59,7 +59,7 @@ ostree_builtin_checksum (int argc, char **argv, GFile *repo_path_path, GError **
{
GOptionContext *context;
gboolean ret = FALSE;
- GFile *f = NULL;
+ ot_lobj GFile *f = NULL;
AsyncChecksumData data;
context = g_option_context_new ("FILENAME - Checksum a file or directory");
@@ -87,7 +87,6 @@ ostree_builtin_checksum (int argc, char **argv, GFile *repo_path_path, GError **
out:
if (data.loop)
g_main_loop_unref (data.loop);
- g_clear_object (&f);
if (context)
g_option_context_free (context);
return ret;