Matthias Clasen f4317c
--- at-spi-1.18.0/atk-bridge/bridge.c.ior-leak	2007-04-09 13:34:13.000000000 +0200
Matthias Clasen f4317c
+++ at-spi-1.18.0/atk-bridge/bridge.c	2007-04-09 13:35:35.000000000 +0200
Matthias Clasen f4317c
@@ -420,9 +420,11 @@
Matthias Clasen f4317c
 	  /* XXX: This presumes that the registry has successfully restarted itself already...*/
Matthias Clasen f4317c
 	  ior = (char *) spi_atk_bridge_get_registry_ior ();
Matthias Clasen f4317c
 
Matthias Clasen f4317c
-	  if (ior != NULL)
Matthias Clasen f4317c
+	  if (ior != NULL) {
Matthias Clasen f4317c
 	       registry = CORBA_ORB_string_to_object (bonobo_activation_orb_get (), 
Matthias Clasen f4317c
 						      ior, &ev;;
Matthias Clasen f4317c
+	       XFree (ior);
Matthias Clasen f4317c
+	  }
Matthias Clasen f4317c
 	  else {
Matthias Clasen f4317c
 	       g_warning ("IOR not set.");  
Matthias Clasen f4317c
 	       registry = CORBA_OBJECT_NIL;