One of the golden rules of development in this ecosystem is that programmer-allocated memory must be freed.
Failure to do so leads to a bad situation – a bug, really – called memory leakage; this is covered in some depth in the next chapter. Carefully matching your allocations and frees is essential.
Using ...