Forgetting to Call free()
Also be sure to call free() on any memory as soon as you no longer need it. This is especially important if you are allocating lots of memory in high-iteration loops. If I ever forget to call free, will that memory be freed when I restart my computer or is it just lost forever?
A programming forum screenshot shows advice about freeing allocated memory followed by a naive question about whether restarting the computer frees forgotten memory. The joke is that the second commenter misunderstands memory management and treats computer memory like something that might remain permanently lost after a reboot. EN: A programming forum screenshot shows advice about freeing allocated memory followed by a naive question about whether restarting the computer frees forgotten memory. The joke is that the second commenter misunderstands memory management and treats computer memory like something that might remain permanently lost after a reboot.
- @ithueti / 4622 2021-09-01
- @right_wing_dev_squads / 5270 2022-11-09
- Type
- image
- Size
- 750×136 · 18.2 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added