Quote:
It would be really great if someone can post info about memory leak. Some link would do.
could be due to the allocation logic added in the code to reclaim discarded memory
have signal handlers as guards in your program,
whenever the program crashes due to illegal access
somehow you need to free the memory acquired through malloc
dangling pointers is one such case
just assign NULL to freed members
programs resisting to release the memory (heap) eventually increases the heap size