Code: Mitigates chances of memory leaks.