diff: Use gs_unref_object not gs_free on a GFile
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
1 parent
cb053ae0f6
commit
0a7c1851d9
1 file changed
+1
-1
@@ -43,7 +43,7 @@ parse_file_or_commit (OstreeRepo *repo,
|
|||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
gs_free GFile *ret_file = NULL;
|
gs_unref_object GFile *ret_file = NULL;
|
||||||
|
|
||||||
if (g_str_has_prefix (arg, "/")
|
if (g_str_has_prefix (arg, "/")
|
||||||
|| g_str_has_prefix (arg, "./")
|
|| g_str_has_prefix (arg, "./")
|
||||||
|
|||||||
Reference in new issue
Block a user