Blob Blame Raw
From f73eedaf241aeca72ef1a1281b30380e5ef1ddd1 Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Wed, 6 Apr 2016 17:10:03 +0200
Subject: [PATCH 4/4] atspi-event-listener: Plug a memory leak

---
 atspi/atspi-event-listener.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/atspi/atspi-event-listener.c b/atspi/atspi-event-listener.c
index 292e88b..3b51abe 100644
--- a/atspi/atspi-event-listener.c
+++ b/atspi/atspi-event-listener.c
@@ -998,6 +998,9 @@ _atspi_dbus_handle_event (DBusConnection *bus, DBusMessage *message, void *data)
   if (e.source == NULL)
   {
     g_warning ("Got no valid source accessible for signal for signal %s from interface %s\n", member, category);
+    g_free (converted_type);
+    g_free (name);
+    g_free (detail);
     return DBUS_HANDLER_RESULT_HANDLED;
   }
 
-- 
2.5.0