Skip to main content

Posts

Showing posts with the label memory leaks in C

Memory Leak

Memory Pools are just a section of memory reserved for allocating temporarily to other parts of the application. So, memory leak occurs when you allocate some memory from the heap(or a pool) and then delete all references to that memory without returning it to the pool it was allocated from. Basically, we are left with less memory to allocate because we have not freed the memory and keep on allocating it.