What is memory leak in programming?
Answer
In computer science, a memory leak is
a type of resource leak that occurs when a computer program incorrectly manages memory allocations in such a way that memory which is no longer needed is not released. … You’ve lost control of that piece of memory regardless of size and can no longer access it or free it.
Answer
In computer science, a memory leak is
a type of resource leak that occurs when a computer program incorrectly manages memory allocations in such a way that memory which is no longer needed is not released. … You’ve lost control of that piece of memory regardless of size and can no longer access it or free it.