Use g_autoptr(GBytes) instead of gs_unref_bytes

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:10 -04:00
1 parent 3f044267b5
commit e6556dd223
11 files changed
+30 -30

No files matched your search

@@ -319,8 +319,8 @@ _ostree_static_delta_part_execute (OstreeRepo *repo,
gboolean ret = FALSE;
gsize partlen;
const guint8*partdata;
gs_unref_bytes GBytes *part_payload_bytes = NULL;
gs_unref_bytes GBytes *payload_data = NULL;
g_autoptr(GBytes) part_payload_bytes = NULL;
g_autoptr(GBytes) payload_data = NULL;
gs_unref_variant GVariant *payload = NULL;
guint8 comptype;