Use g_autoptr(GVariant) instead of gs_unref_variant

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent bb231fdf74
commit c2c322efa9
26 files changed
+182 -182

No files matched your search

+1 -1
View File
@@ -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))