--- at-spi-1.7.11/atk-bridge/bridge.c-orig	2006-08-21 21:03:15.000000000 +0200
+++ at-spi-1.7.11/atk-bridge/bridge.c	2006-11-09 12:40:27.000000000 +0100
@@ -671,20 +671,18 @@
 #endif
   CORBA_exception_init (&ev);
   registry = spi_atk_bridge_get_registry ();
-  if (registry_died) {
-      g_free (e.type);
-      return;
-  }  
-  Accessibility_Registry_notifyEvent (registry, 
-				      &e, &ev);
+  if (!registry_died) {
+      Accessibility_Registry_notifyEvent (registry, 
+					  &e, &ev);
 #ifdef SPI_BRIDGE_DEBUG
-  if (ev._major != CORBA_NO_EXCEPTION)
-      g_message ("error emitting event %s, (%d) %s",
-		 e.type,
-		 ev._major,
-		 CORBA_exception_id(&ev));
+      if (ev._major != CORBA_NO_EXCEPTION)
+	  g_message ("error emitting event %s, (%d) %s",
+		     e.type,
+		     ev._major,
+		     CORBA_exception_id(&ev));
 #endif	      
-  if (BONOBO_EX (&ev)) registry_died = TRUE;
+      if (BONOBO_EX (&ev)) registry_died = TRUE;
+  }
   
   if (source)
       bonobo_object_unref (BONOBO_OBJECT (source));
