Suppose we have dynamically allocate a chunk of memory and forgot to de allocate it, means the program allocates some memory but fails to return it to the system is called memory leak.
Knowledge point
Suppose we have dynamically allocate a chunk of memory and forgot to de allocate it, means the program allocates some memory but fails to return it to the system is called memory leak.