Use g_autoptr(GVariantBuilder) instead of gs_unref_variant_builder
This commit is contained in:
1 parent
c69347b622
commit
cca69b3f55
7 files changed
+10
-10
No files matched your search
@@ -367,7 +367,7 @@ add_size_index_to_metadata (OstreeRepo *self,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gs_unref_variant_builder GVariantBuilder *builder = NULL;
|
||||
g_autoptr(GVariantBuilder) builder = NULL;
|
||||
|
||||
/* original_metadata may be NULL */
|
||||
builder = ot_util_variant_builder_from_variant (original_metadata, G_VARIANT_TYPE ("a{sv}"));
|
||||
|
||||
Reference in new issue
Block a user