diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-05-05 11:43:31 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-06 22:07:10 -0400 |
commit | 196d983af930c665bbb385f59f6480b1032fd6bb (patch) | |
tree | 9c0472087c6df8a007668ea6afafaedcd2d06d40 /src/libostree/ostree-rollsum.c | |
parent | e6556dd223a994d202b3486ce03930eaab4a29b8 (diff) | |
download | ostree-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.c | 4 |
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; |