News for hackers. Stuff that matters.
Re:So We've Got a Memory Leak by gpderetta on Monday May 13, 2024 @11:03AM (#40344147)
> A memory leak means you lost the pointer to the memory, so now you can’t free it.

that's an useless definition as otherwise it would be trivial to augment, say, malloc to prevent memory leaks.

I would define a leak as unused memory that it is not otherwise reusable by a program.

There are no comments on this comment yet.