summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-refs.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/ostree/ot-builtin-refs.c
parente6556dd223a994d202b3486ce03930eaab4a29b8 (diff)
downloadostree-196d983af930c665bbb385f59f6480b1032fd6bb.tar.gz
Use g_autoptr(GHashTable) instead of gs_unref_hashtable
Diffstat (limited to 'src/ostree/ot-builtin-refs.c')
-rw-r--r--src/ostree/ot-builtin-refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-refs.c b/src/ostree/ot-builtin-refs.c
index 95879900..d5d6f49e 100644
--- a/src/ostree/ot-builtin-refs.c
+++ b/src/ostree/ot-builtin-refs.c
@@ -41,7 +41,7 @@ ostree_builtin_refs (int argc, char **argv, GCancellable *cancellable, GError **
GOptionContext *context;
glnx_unref_object OstreeRepo *repo = NULL;
const char *refspec_prefix = NULL;
- gs_unref_hashtable GHashTable *refs = NULL;
+ g_autoptr(GHashTable) refs = NULL;
GHashTableIter hashiter;
gpointer hashkey, hashvalue;