atspi-event-listener: Plug a memory leak accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170302.151603 accepted/tizen/ivi/20170302.121458 accepted/tizen/mobile/20170302.120955 accepted/tizen/tv/20170302.121138 accepted/tizen/unified/20170309.034855 accepted/tizen/wearable/20170302.121436 submit/tizen/20170302.063947 submit/tizen_unified/20170308.100411
authorRui Matos <tiagomatos@gmail.com>
Wed, 6 Apr 2016 15:10:03 +0000 (17:10 +0200)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 14 Feb 2017 07:28:15 +0000 (16:28 +0900)
https://bugzilla.gnome.org/show_bug.cgi?id=764688

Change-Id: I82281f9f9ad2b8c410d4d713ad12dee1343ab2bc

atspi/atspi-event-listener.c

index 95af3a0..5c4b442 100644 (file)
@@ -1002,6 +1002,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;
   }