38
votes
16answers
3k views

Is it a waste of time to free resources before I exit a process?

Let's consider a fictional program that builds a linked list in the heap, and at the end of the program there is a loop that frees all the nodes, and then exits. For this case let's say the linked ...