[C++-sig] Re: Memory leak when using return_internal_reference !?
by David Abrahams other posts by this author
Jun 4 2003 10:24PM messages near this date
[C++-sig] Memory leak when using return_internal_reference !?
|
[C++-sig] Re: Memory leak when using return_internal_reference !?
gideon may <gideon@[...].org> writes:
> Thanks for the fix!
>
> --On Wednesday, June 04, 2003 4:48 PM -0400 David Abrahams
> <dave@[...].com> wrote:
>
> > gideon may <gideon@[...].org> writes:
>
> <snip>
>
> >
> > Perhaps... a bug in Boost.Python??!
> >
> > Fixed in CVS, thanks for reporting it. Extra bonus points if you can
> > supply a patch to the test that will detect this bug!
>
> Thanks, will try it immediately. I'm afraid I have to let the bonus
> points pass, since there is no way to track if objects have really been
> deleted; except if you define COUNT_ALLOCS while building python :(
I regularly test with a debug build which has COUNT_ALLOCS defined,
so if you can make a test which uses that fact you will reap the
bonus points.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
Thread:
gideon may
David Abrahams
David Abrahams
gideon may
|