Index: atk-bridge/bridge.c
===================================================================
RCS file: /cvs/gnome/at-spi/atk-bridge/bridge.c,v
retrieving revision 1.93
diff -u -p -r1.93 bridge.c
--- atk-bridge/bridge.c	14 Jun 2006 15:22:44 -0000	1.93
+++ atk-bridge/bridge.c	28 Jul 2006 19:20:57 -0000
@@ -696,7 +696,7 @@ spi_atk_emit_eventv (const GObject      
   
   g_free (e.type);
 
-  if (e.any_data._release) CORBA_free (&e.any_data._value);
+  if (e.any_data._release) CORBA_free (e.any_data._value);
   
   va_end (args);
 
Index: libspi/util.c
===================================================================
RCS file: /cvs/gnome/at-spi/libspi/util.c,v
retrieving revision 1.11
diff -u -p -r1.11 util.c
--- libspi/util.c	19 Jul 2006 17:27:18 -0000	1.11
+++ libspi/util.c	28 Jul 2006 19:20:57 -0000
@@ -153,7 +153,7 @@ spi_init_any_object (CORBA_any *any_deta
   details->source_name = CORBA_string_dup (name);
   
   details->any_data._type = TC_CORBA_Object;
-  details->any_data._value = o;
+  details->any_data._value = ORBit_copy_value (o, TC_CORBA_Object);
   details->any_data._release = TRUE;
 }
 
