From 194eb7a09c8baa61e9715a117d9376d43d9a86c5 Mon Sep 17 00:00:00 2001 From: Alexander Larsson <alexl@redhat.com> Date: Fri, 22 Jan 2016 15:27:11 +0100 Subject: [PATCH] Add autoptr support for GZlib* --- glnx-backport-autocleanups.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glnx-backport-autocleanups.h b/glnx-backport-autocleanups.h index 9e90fa879..cc2496114 100644 --- a/glnx-backport-autocleanups.h +++ b/glnx-backport-autocleanups.h @@ -105,6 +105,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTlsDatabase, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTlsInteraction, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusConnection, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusMessage, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibCompressor, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GZlibDecompressor, g_object_unref) #endif -- GitLab