Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent 196d983af9
commit bb231fdf74
31 files changed
+60 -61

No files matched your search

+1 -1
View File
@@ -380,7 +380,7 @@ add_size_index_to_metadata (OstreeRepo *self,
OstreeContentSizeCacheEntry *e_size = NULL;
GVariantBuilder index_builder;
guint i;
gs_unref_ptrarray GPtrArray *sorted_keys = NULL;
g_autoptr(GPtrArray) sorted_keys = NULL;
g_hash_table_iter_init (&entries, self->object_sizes);
g_variant_builder_init (&index_builder,