[ostree] diff: Use gs_unref_object not gs_free on a GFile
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] diff: Use gs_unref_object not gs_free on a GFile
- Date: Thu, 30 Oct 2014 16:18:16 +0000 (UTC)
commit 0a7c1851d9c47c50aa5cdc7f19e368a0261032d7
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Thu Oct 30 11:05:47 2014 +0100
diff: Use gs_unref_object not gs_free on a GFile
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
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 00de8cb..65d55be 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, "./")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]