Ulrich Eckhardt <[EMAIL PROTECTED]> writes:

> Okay, here's your problem: you are using new[] to allocate storage and
> using free() to release it.

Missed that.

This is a real bug, but it doesn't explain the observed double-free:
the 'new char[]' simply turns around and calls malloc() on most C++
implementations, so this particular bug will never manifest itself
in a crash (on such an implementation).

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