summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-static-delta-compilation-analysis.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-05 11:44:40 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 22:07:10 -0400
commitbb231fdf74ff81a39f82c0ccda058b2779e18e99 (patch)
tree251e82668c299faaf8087679779ebfb6eb7bdeac /src/libostree/ostree-repo-static-delta-compilation-analysis.c
parent196d983af930c665bbb385f59f6480b1032fd6bb (diff)
downloadostree-bb231fdf74ff81a39f82c0ccda058b2779e18e99.tar.gz
Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-compilation-analysis.c')
-rw-r--r--src/libostree/ostree-repo-static-delta-compilation-analysis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libostree/ostree-repo-static-delta-compilation-analysis.c b/src/libostree/ostree-repo-static-delta-compilation-analysis.c
index a1344e3b..a8f24b43 100644
--- a/src/libostree/ostree-repo-static-delta-compilation-analysis.c
+++ b/src/libostree/ostree-repo-static-delta-compilation-analysis.c
@@ -153,7 +153,7 @@ build_content_sizenames_filtered (OstreeRepo *repo,
GError **error)
{
gboolean ret = FALSE;
- gs_unref_ptrarray GPtrArray *ret_sizenames =
+ g_autoptr(GPtrArray) ret_sizenames =
g_ptr_array_new_with_free_func (_ostree_delta_content_sizenames_free);
g_autoptr(GHashTable) sizenames_map =
g_hash_table_new_full (g_str_hash, g_str_equal, NULL, _ostree_delta_content_sizenames_free);
@@ -233,8 +233,8 @@ _ostree_delta_compute_similar_objects (OstreeRepo *repo,
gboolean ret = FALSE;
g_autoptr(GHashTable) ret_modified_regfile_content =
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify)g_ptr_array_unref);
- gs_unref_ptrarray GPtrArray *from_sizes = NULL;
- gs_unref_ptrarray GPtrArray *to_sizes = NULL;
+ g_autoptr(GPtrArray) from_sizes = NULL;
+ g_autoptr(GPtrArray) to_sizes = NULL;
guint i, j;
guint lower;
guint upper;