- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
A screenshot from youtube, Virbox
You must log in or register to comment.
That’s why I preallocate the max memory I will need just like I was taught to do in Fortran. You can’t leak what you don’t have.
Heap allocation failure > gradual memory leak
Checkmate atheists.
Eh… ship it. RAM is cheap.
~I’m sorry~
The line causing the memory leaks is actually the lack of a line:
free()
.