fix atk_text_get_text leak
authorMichael Meeks <michael.meeks@novell.com>
Fri, 8 Apr 2011 18:27:13 +0000 (19:27 +0100)
committerMichael Meeks <michael.meeks@novell.com>
Fri, 8 Apr 2011 18:27:13 +0000 (19:27 +0100)
atspi/atspi-misc.c

index 9c2471a..c4a90ab 100644 (file)
@@ -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);