summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-rollsum.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-05 11:43:31 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 22:07:10 -0400
commit196d983af930c665bbb385f59f6480b1032fd6bb (patch)
tree9c0472087c6df8a007668ea6afafaedcd2d06d40 /src/libostree/ostree-rollsum.c
parente6556dd223a994d202b3486ce03930eaab4a29b8 (diff)
downloadostree-196d983af930c665bbb385f59f6480b1032fd6bb.tar.gz
Use g_autoptr(GHashTable) instead of gs_unref_hashtable
Diffstat (limited to 'src/libostree/ostree-rollsum.c')
-rw-r--r--src/libostree/ostree-rollsum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-rollsum.c b/src/libostree/ostree-rollsum.c
index c6f08766..17830f5b 100644
--- a/src/libostree/ostree-rollsum.c
+++ b/src/libostree/ostree-rollsum.c
@@ -112,8 +112,8 @@ _ostree_compute_rollsum_matches (GBytes *from,
GBytes *to)
{
OstreeRollsumMatches *ret_rollsum = NULL;
- gs_unref_hashtable GHashTable *from_rollsum = NULL;
- gs_unref_hashtable GHashTable *to_rollsum = NULL;
+ g_autoptr(GHashTable) from_rollsum = NULL;
+ g_autoptr(GHashTable) to_rollsum = NULL;
gs_unref_ptrarray GPtrArray *matches = NULL;
const guint8 *from_buf;
gsize from_len;