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, "./")