On Wednesday 04 June 2008, Matthew Dillon wrote:
[...]
Keep in mind that detecting a double-free may be good, but knowing where
the previous free took place takes you more than halfway towards a solution.
But this would require the debug code to be a bit more resource-intensive
and also some use of the preprocessor...
Aggelos