hacompu
So if I understood correctly, freeing is required for memory which will be only used in some period of a process.
Not exactly. Freeing is required for memory which needs to be freed at some point before the process exits.
If that sounds like a tautology, it is.