From 0a7c1851d9c47c50aa5cdc7f19e368a0261032d7 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 30 Oct 2014 11:05:47 +0100 Subject: [PATCH] diff: Use gs_unref_object not gs_free on a GFile Signed-off-by: Giuseppe Scrivano --- src/ostree/ot-builtin-diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, "./")