Use g_autoptr(GHashTable) instead of gs_unref_hashtable

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent e6556dd223
commit 196d983af9
19 files changed
+49 -49

No files matched your search

+2 -2
View File
@@ -2756,8 +2756,8 @@ ostree_repo_write_mtree (OstreeRepo *self,
}
else
{
gs_unref_hashtable GHashTable *dir_metadata_checksums = NULL;
gs_unref_hashtable GHashTable *dir_contents_checksums = NULL;
g_autoptr(GHashTable) dir_metadata_checksums = NULL;
g_autoptr(GHashTable) dir_contents_checksums = NULL;
gs_unref_variant GVariant *serialized_tree = NULL;
g_autofree guchar *contents_csum = NULL;
char contents_checksum_buf[65];