help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Leak??


From: Bernd Strieder
Subject: Re: Memory Leak??
Date: Mon, 27 Aug 2007 16:16:30 +0200
User-agent: KNode/0.10.4

Hello,

 nandakiran@gmail.com 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]