[C++-sig] Re: Memory leak when using return_internal_reference !?
David Abrahams
dave at boost-consulting.com
Thu Jun 5 00:24:36 CEST 2003
gideon may <gideon at computer.org> writes:
> Thanks for the fix!
>
> --On Wednesday, June 04, 2003 4:48 PM -0400 David Abrahams
> <dave at boost-consulting.com> wrote:
>
>> gideon may <gideon at computer.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
More information about the Cplusplus-sig
mailing list