diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2014-10-30 11:05:47 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-10-30 12:17:32 -0400 |
commit | 0a7c1851d9c47c50aa5cdc7f19e368a0261032d7 (patch) | |
tree | 7bea748544ac25b134d7132a80a1e416679e272a | |
parent | cb053ae0f6eb8a9e2285e018688b01fa8f0b5342 (diff) | |
download | ostree-0a7c1851d9c47c50aa5cdc7f19e368a0261032d7.tar.gz |
diff: Use gs_unref_object not gs_free on a GFile
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r-- | src/ostree/ot-builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c index 00de8cbb..65d55be2 100644 --- a/src/ostree/ot-builtin-diff.c +++ b/src/ostree/ot-builtin-diff.c @@ -43,7 +43,7 @@ parse_file_or_commit (OstreeRepo *repo, GError **error) { gboolean ret = FALSE; - gs_free GFile *ret_file = NULL; + gs_unref_object GFile *ret_file = NULL; if (g_str_has_prefix (arg, "/") || g_str_has_prefix (arg, "./") |