- Dynamically allocated memory (
malloc) not automatically freed
➜ Programmer must take care to free memory
- Program may run out of memory when repeated allocations are not freed
- Memory management is source of many errors in C
void free(void* p); // declared in stdlib.h
- Frees memory of passed pointer
If you want to change selection, open document below and click on "Move attachment"
Summary
| status | not read | | reprioritisations | |
|---|
| last reprioritisation on | | | suggested re-reading day | |
|---|
| started reading on | | | finished reading on | |
|---|
Details