summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-gir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-gir.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-gir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-gir.c b/libappstream-builder/plugins/asb-plugin-gir.c
index 8244bdb..854cb85 100644
--- a/libappstream-builder/plugins/asb-plugin-gir.c
+++ b/libappstream-builder/plugins/asb-plugin-gir.c
@@ -67,8 +67,8 @@ asb_plugin_process_gir (AsbApp *app,
const gchar *name;
const gchar *version;
gboolean ret = TRUE;
- _cleanup_free_ gchar *filename_full = NULL;
- _cleanup_object_unref_ GFile *file = NULL;
+ g_autofree gchar *filename_full = NULL;
+ g_autoptr(GFile) file = NULL;
/* load file */
filename_full = g_build_filename (tmpdir, filename, NULL);