[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Memory Leak



hi,
the memory can be allocated dynamically at the program execution time.
this memory should be freed 
at the end of the scope as os can't do it as it is not specified in the
compile time stack allocation for non dynamic objects. hence it should
be deallocated before the end of the scope. if this deallocation isn't
done, the memory which are allocated, aren't returned to free memory
pool of the os. hence memory leak occurs.

Archan
archanp@xxxxxxxxxxx
Lateral Software Technology (Linux Lab), Chennai, India.



jayarambr wrote:
> 
> Will any one please explain what is memory leak?
> Apologies for asking a question out of context of linux.
> Thanks in advance,
> Jayaram.
>
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.