Generics and defining elements of containers and arrays.
Free data after the code is done.
Don't free data after the code is done.