From dcd17f82a5934ea0cca25341e73d920a5f5f5d4e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 17 Nov 2015 11:29:43 +0100 Subject: [PATCH] Add autoptr cleanup backport for SoupUri --- lib/xdg-app-utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/xdg-app-utils.h b/lib/xdg-app-utils.h index b2e178ef..6c3f459e 100644 --- a/lib/xdg-app-utils.h +++ b/lib/xdg-app-utils.h @@ -169,6 +169,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeGpgVerifyResult, g_object_unref) #ifndef SOUP_AUTOCLEANUPS_H G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupSession, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupMessage, g_object_unref) +G_DEFINE_AUTOPTR_CLEANUP_FUNC(SoupUri, soup_uri_free) #endif G_DEFINE_AUTOPTR_CLEANUP_FUNC(XdgAppSessionHelper, g_object_unref)