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