summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-02-28 12:59:13 +0100
committerPacho Ramos <pacho@gentoo.org>2016-02-28 13:02:31 +0100
commit499cf8cf9d63d6b3ae14e721ca9ba07b582bcd25 (patch)
tree78deceffd1e54f747f1914d20efacc819ee0e0d2 /dev-libs/glib/files
parentgnome-base/librsvg: Fix crashes when filters don't exist (#575496 by Andreas ... (diff)
downloadgentoo-499cf8cf9d63d6b3ae14e721ca9ba07b582bcd25.tar.gz
gentoo-499cf8cf9d63d6b3ae14e721ca9ba07b582bcd25.tar.bz2
gentoo-499cf8cf9d63d6b3ae14e721ca9ba07b582bcd25.zip
dev-libs/glib: Fix memory leak (#575018 by Rick Harris), skip more broken tests
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/glib/files')
-rw-r--r--dev-libs/glib/files/glib-2.46.2-memleak.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/glib/files/glib-2.46.2-memleak.patch b/dev-libs/glib/files/glib-2.46.2-memleak.patch
new file mode 100644
index 000000000000..e9eca2aaac2d
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.46.2-memleak.patch
@@ -0,0 +1,25 @@
+From e98e1eff83c742c73a148dd7b75c00d77e0cee40 Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos@foutrelis.com>
+Date: Wed, 25 Nov 2015 23:29:18 +0200
+Subject: GDBusProxy: Fix a memory leak during initialization
+
+https://bugzilla.gnome.org/show_bug.cgi?id=758641
+---
+ gio/gdbusproxy.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
+index 52a22fb..7b1140f 100644
+--- a/gio/gdbusproxy.c
++++ b/gio/gdbusproxy.c
+@@ -1720,6 +1720,7 @@ async_initable_init_second_finish (GAsyncInitable *initable,
+ if (result != NULL)
+ {
+ process_get_all_reply (proxy, result);
++ g_variant_unref (result);
+ }
+
+ proxy->priv->initialized = TRUE;
+--
+cgit v0.12
+