Boost logo

Boost :

From: scleary_at_[hidden]
Date: 2001-04-27 08:25:53


John -

> I've placed a preliminary version of the output here:
>
>
http://ourworld.compuserve.com/homepages/john_maddock/codeguard_results.htm

Thank you for doing this! I ran codeguard on Pool before I released it, and
got the same:

> test_pool_alloc.cpp: heap corruption - allocates with malloc and frees
> with delete[]

However, after much investigation into the code, I don't believe that
codeguard is correct. It's possible that the inlining in the header can
cause problems: array nothrow new is an inlined call to nothrow new which is
an inlined call to malloc, but delete is *not* an inlined call to free.

So there is no actual heap corruption with pool. But thanks for running the
test!

        -Steve


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk