[at-spi2-atk] fix leak



commit e17cc968348275ff2ea7f5fcce10db9c0458d8f5
Author: Michael Meeks <michael meeks novell com>
Date:   Fri Apr 8 19:27:03 2011 +0100

    fix leak

 atk-adaptor/event.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/event.c b/atk-adaptor/event.c
index c04247d..4752ce7 100644
--- a/atk-adaptor/event.c
+++ b/atk-adaptor/event.c
@@ -794,6 +794,8 @@ text_changed_event_listener (GSignalInvocationHint * signal_hint,
 
   emit_event (accessible, ITF_EVENT_OBJECT, name, minor, detail1, detail2,
               DBUS_TYPE_STRING_AS_STRING, selected, append_basic);
+  g_free (selected);
+
   return TRUE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]