Use g_autoptr(GVariant) instead of gs_unref_variant
This commit is contained in:
1 parent
bb231fdf74
commit
c2c322efa9
26 files changed
+182
-182
No files matched your search
@@ -391,7 +391,7 @@ ostree_repo_resolve_rev (OstreeRepo *self,
|
||||
{
|
||||
g_autofree char *parent_refspec = NULL;
|
||||
g_autofree char *parent_rev = NULL;
|
||||
gs_unref_variant GVariant *commit = NULL;
|
||||
g_autoptr(GVariant) commit = NULL;
|
||||
|
||||
parent_refspec = g_strdup (refspec);
|
||||
parent_refspec[strlen(parent_refspec) - 1] = '\0';
|
||||
|
||||
Reference in new issue
Block a user