File gnome-desktop-bgo719428-fix-leak.patch of Package gnome-desktop.604

From 27dc56e496f5350ebd9ecf8e85b2ae8ecaae3eaf Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Wed, 27 Nov 2013 15:06:05 +0100
Subject: [PATCH] idle-monitor: Fix a GHashTable leak

https://bugzilla.gnome.org/show_bug.cgi?id=719428
---
 libgnome-desktop/gnome-idle-monitor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libgnome-desktop/gnome-idle-monitor.c b/libgnome-desktop/gnome-idle-monitor.c
index 539c99b..0bcb071 100644
--- a/libgnome-desktop/gnome-idle-monitor.c
+++ b/libgnome-desktop/gnome-idle-monitor.c
@@ -167,6 +167,7 @@ gnome_idle_monitor_dispose (GObject *object)
 	g_clear_object (&monitor->priv->proxy);
 	g_clear_object (&monitor->priv->om);
 	g_clear_pointer (&monitor->priv->watches, g_hash_table_destroy);
+	g_clear_pointer (&monitor->priv->watches_by_upstream_id, g_hash_table_destroy);
 	g_clear_object (&monitor->priv->device);
 	g_clear_pointer (&monitor->priv->path, g_free);
 
-- 
1.8.4

openSUSE Build Service is sponsored by