[C++-sig] Reference counted object return value policy

Hans Meine meine at informatik.uni-hamburg.de
Wed Sep 24 15:42:08 CEST 2008


Am Mittwoch, 24. September 2008 15:32:12 schrieb Jean-Sébastien Guay:
> I'm not talking about memory leaks per se, I'm talking about the actual
> wrapper code causing crashes of the interpreter.

That's what I meant with "similar memory errors".  My guess is that you're 
using a policy that allows the C++ object to be deleted although a python 
object still references it.

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the Cplusplus-sig mailing list