Fix for bug #168679, plug leak in at-spi bounds-change events.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 5 Apr 2005 16:37:48 +0000 (16:37 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 5 Apr 2005 16:37:48 +0000 (16:37 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@745 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
atk-bridge/bridge.c

index df9ad28..937be4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-04-05  Bill Haneman <bill.haneman@sun.com>
+
+       * atk-bridge/bridge.c: 
+       (spi_atk_bridge_signal_listener):
+       Free the any._value if any._release is TRUE,
+       since the ORB won't do it for us in this case
+       [because this method is not a skel].
+       Fix for bug #168679.    
+       
 2005-03-30  Steve Murphy  <murf@e-tools.com>
 
        * configure.in: Added "rw" to ALL_LINGUAS.
index d5e9559..4489f25 100644 (file)
@@ -1041,6 +1041,8 @@ spi_atk_bridge_signal_listener (GSignalInvocationHint *signal_hint,
 
   if (sp)
     g_free (sp);
+  if (any._release)
+    CORBA_free (any._value);
 
   return TRUE;
 }