[omniORB] omniORBpy memory leak using PyErr_SetObject

Duncan Grisby duncan at grisby.org
Tue Apr 8 12:28:45 BST 2008

On Thursday 3 April, Luke Deller wrote:

> There are a few places in omniORBpy-3.2 which leak python exception objects.
> The code seems to assume that the Python API function
>     PyErr_SetObject(PyObject *type, PyObject *value)
> will steal a reference to "value", but it does not.

Thanks. I applied your patch the other day, but forgot to email you to
say I'd done it.



 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --

More information about the omniORB-list mailing list