3 ms·
Memory leaks are not good, ever. The author just has a wrong definition of memory leak. A memory leak is any memory that is allocated, but never freed This
by eis 15y ago
Memory leaks are not good, ever. The author just has a wrong definition of memory leak.
A memory leak is any memory that is allocated, but never freed
This is not a memory leak in most people's books. A real memory leak is memory that is allocated, not used anymore by the application and never freed.
This is a small but important difference. What the author described as "good memory leak" is just allocated memory.