Hello,

 [EMAIL PROTECTED] wrote:

> I am using Mandriva Linux (2.6.17-14) with gnu g++ version 4.1.2. The
> source code used to test is given below.
> When i am run the program, it is properly freeing up the allocated
> memory. When also including the
> lines that are commented in the code, the "delete" is not freeing up
> the memory used. I do not have
> the problem when compiling under cygwin.  What can be done to fix
> this?

Read

http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html

Read the docs of valgrind, then use valgrind. If the problem persists,
come back.

Bernd Strieder

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to