Ron House <[EMAIL PROTECTED]> writes:

> Does anyone happen to know of a memory leak detector that would work
> with g++ new and delete (as opposed to malloc and free)?

Since global new and delete call malloc and free, *every* leak
detector works just fine with them.

OTOH, if you are overloading new/delete for your classes in
non-trivial ways, then no leak detector will likely work without
some tweaking. It is often easier to just disable such overloading
in -DLEAK_DEBUG builds, rather than tweak the leak detector to
understand your memory management scheme.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to