diff: Use gs_unref_object not gs_free on a GFile

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2014-10-30 11:05:47 +01:00 committed by Colin Walters
parent cb053ae0f6
commit 0a7c1851d9

View File

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