On Tue, Nov 23, 2010 at 14:28, Chris Lalancette <clalance(a)redhat.com> wrote:
In terms of making this automatically happen during connection
closing, I'm
not entirely sure what we can (and should) do. I guess we could keep some sort
of list of objects that "depend" on this connection object, and then during
connection close free them all up. Does anyone know how the python bindings
handle this?
python bindings work more or less the same way (see attachment).
So conclusion is, that all objects must be free() before closing connection.
It's not so intuitive, so maybe info about that should be somewhere in docs?
--
Pawel