GNOME Bugzilla – Bug 490202
Missing a ref() when returning a CORBA object via an accessible
Last modified: 2019-03-27 20:11:48 UTC
The patch below does a ref() when we get back an accessible or other corba object, for example acc.parent or acc.getChildAtIndex().
Created attachment 97860 [details] [review] Ref() a return value
This patch was bad. When we get a CORBA object from a method call it is always reffed for us. I am going to revert it, both in stable and in trunk. I was able to suppress an Orca bug with this patch, but it was not the right fix, it just reffed the returned object an extra time, another round trip, and also i am working on a mixin that unrefs on __del__, and I had to unref() twice, a second extra round trip. I think that the cause for the Orca bug is bug 492469. I'll test a bit further.
This patch has been reverted, both in the 2.20 branch and in trunk.