Use g_autoptr() for GIO object types

GLib 2.44 supplies all the necessary autocleanup macros for GIO types,
and libglnx backports the relevant macros for ostree.
This commit is contained in:
Matthew Barnes committed 2015-05-06 21:51:19 -04:00
1 parent 7a62d64968
commit 4ee1acd981
51 files changed
+320 -320

No files matched your search

@@ -74,7 +74,7 @@ build_content_sizenames_recurse (OstreeRepo *repo,
csizenames = g_hash_table_lookup (sizenames_map, checksum);
if (!csizenames)
{
gs_unref_object GFileInfo *finfo = NULL;
g_autoptr(GFileInfo) finfo = NULL;
csizenames = g_new0 (OstreeDeltaContentSizeNames, 1);
csizenames->checksum = g_strdup (checksum);