[C++-sig] Memory Leaks In VS.NET 2003 With BOOST_PYTHON_MODULE

Dennis Brakhane brakhane at googlemail.com
Fri Oct 14 12:49:25 CEST 2005

mjkeyes at sbcglobal.net wrote:
>>>>	acctMgr = AccountMgr()
This defines MyClass.acctMgr as an instance of AccountMgr. And of course 
this is created when MyClass is defined. You probably meant:

def __init__(self):
     self.acctMgr = AccountMgr()

More information about the Cplusplus-sig mailing list