Use g_autoptr(GChecksum) instead of gs_free_checksum

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent 6a5f7b1288
commit 3f044267b5
1 file changed
+1 -1
@@ -1300,7 +1300,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
GBytes *payload_b;
GBytes *operations_b;
g_autofree guchar *part_checksum = NULL;
gs_free_checksum GChecksum *checksum = NULL;
g_autoptr(GChecksum) checksum = NULL;
gs_unref_bytes GBytes *objtype_checksum_array = NULL;
gs_unref_bytes GBytes *checksum_bytes = NULL;
g_autoptr(GFile) part_tempfile = NULL;