memory leak
Heap memory that is never freed because nothing remembers it.
A leak occurs when the last pointer to a heap allocation is lost before delete; the memory stays reserved until the program exits. LeakSanitizer reports leaks.
Heap memory that is never freed because nothing remembers it.
A leak occurs when the last pointer to a heap allocation is lost before delete; the memory stays reserved until the program exits. LeakSanitizer reports leaks.