mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
diff: Use gs_unref_object not gs_free on a GFile
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
cb053ae0f6
commit
0a7c1851d9
@ -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, "./")
|
||||
|
Loading…
x
Reference in New Issue
Block a user