3 ms·
Not to pick too many nits, but I didn't use free() or malloc() for about 7 years of my career in programming C. Embedded systems sometimes still frown upon wil
by qdog 15y ago
Not to pick too many nits, but I didn't use free() or malloc() for about 7 years of my career in programming C.
Embedded systems sometimes still frown upon willy-nilly memory allocation ;)
Of course, days when your build breaks and it's because someone, somewhere defined a piece of data as 8 bits, but your latest build has shifted some stuff around and suddenly two memory definitions have become one because of memory alignment...was probably more painful to track down than free() issues.