[at-spi2-core] fix atk_text_get_text leak
- From: Michael Meeks <michael src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [at-spi2-core] fix atk_text_get_text leak
 
- Date: Fri,  8 Apr 2011 18:30:48 +0000 (UTC)
 
commit 86712069170f02f4466d209dc7214f59e662b095
Author: Michael Meeks <michael meeks novell com>
Date:   Fri Apr 8 19:27:13 2011 +0100
    fix atk_text_get_text leak
 atspi/atspi-misc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 9c2471a..c4a90ab 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -1342,6 +1342,8 @@ atspi_get_a11y_bus (void)
 
   dbus_error_init (&error);
   bus = dbus_connection_open (address, &error);
+  g_free (address);
+
   if (!bus)
     {
       g_warning ("Couldn't connect to accessibility bus: %s", error.message);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]