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-repo-refs.c | |
parent | e6556dd223a994d202b3486ce03930eaab4a29b8 (diff) | |
download | ostree-196d983af930c665bbb385f59f6480b1032fd6bb.tar.gz |
Use g_autoptr(GHashTable) instead of gs_unref_hashtable
Diffstat (limited to 'src/libostree/ostree-repo-refs.c')
-rw-r--r-- | src/libostree/ostree-repo-refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-repo-refs.c b/src/libostree/ostree-repo-refs.c index 723b4479..4bb6e0a4 100644 --- a/src/libostree/ostree-repo-refs.c +++ b/src/libostree/ostree-repo-refs.c @@ -293,7 +293,7 @@ ostree_repo_resolve_partial_checksum (OstreeRepo *self, gboolean ret = FALSE; static const char hexchars[] = "0123456789abcdef"; gsize off; - gs_unref_hashtable GHashTable *ref_list = NULL; + g_autoptr(GHashTable) ref_list = NULL; g_autofree char *ret_rev = NULL; guint length; const char *checksum = NULL; @@ -497,7 +497,7 @@ ostree_repo_list_refs (OstreeRepo *self, GError **error) { gboolean ret = FALSE; - gs_unref_hashtable GHashTable *ret_all_refs = NULL; + g_autoptr(GHashTable) ret_all_refs = NULL; g_autofree char *remote = NULL; g_autofree char *ref_prefix = NULL; |