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
@@ -44,7 +44,7 @@ get_file_checksum (OstreeDiffFlags flags,
|
||||
}
|
||||
else
|
||||
{
|
||||
gs_unref_variant GVariant *xattrs = NULL;
|
||||
g_autoptr(GVariant) xattrs = NULL;
|
||||
g_autoptr(GInputStream) in = NULL;
|
||||
|
||||
if (!(flags & OSTREE_DIFF_FLAGS_IGNORE_XATTRS))
|
||||
|
||||
Reference in new issue
Block a user