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/ostree/ot-builtin-diff.c | |
parent | e6556dd223a994d202b3486ce03930eaab4a29b8 (diff) | |
download | ostree-196d983af930c665bbb385f59f6480b1032fd6bb.tar.gz |
Use g_autoptr(GHashTable) instead of gs_unref_hashtable
Diffstat (limited to 'src/ostree/ot-builtin-diff.c')
-rw-r--r-- | src/ostree/ot-builtin-diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c index 385d9103..8e2d237a 100644 --- a/src/ostree/ot-builtin-diff.c +++ b/src/ostree/ot-builtin-diff.c @@ -180,9 +180,9 @@ ostree_builtin_diff (int argc, char **argv, GCancellable *cancellable, GError ** if (opt_stats) { - gs_unref_hashtable GHashTable *reachable_a = NULL; - gs_unref_hashtable GHashTable *reachable_b = NULL; - gs_unref_hashtable GHashTable *reachable_intersection = NULL; + g_autoptr(GHashTable) reachable_a = NULL; + g_autoptr(GHashTable) reachable_b = NULL; + g_autoptr(GHashTable) reachable_intersection = NULL; g_autofree char *rev_a = NULL; g_autofree char *rev_b = NULL; g_autofree char *size = NULL; |