5 Aug
2005
5 Aug
'05
9:15 p.m.
I'm posting this here because the zope issue tracker seems to be broken; at least it won't let me in. Anyway, it looks like there is a refcount leak in Dispatcher.TrueDispatch when the underlying delegate has a void return type. In that case, TrueDispatch returns without Decrefing the result of the call to the python function which the Dispatcher is wrapping. I think the code should be: if (rtype == typeof(void)) { Runtime.Decref(op); // this line added return null; } --- Greg Chapman