Hi all,
I know that each time we allocate memory onto the heap (malloc, calloc, realloc..) once we finish we have to free it in order to avoid memory leaks.
Just to improve my skills I'm reading the C code of paste.c (the linux command). Now without go through code details, why in the code I see a couple of xmalloc and there are no free() call?
Shouldn't we free the memory we allocated?
Thanks in advance