NULL is ok, both for passing and for returning.
Generics and defining elements of containers and arrays.
Don't free data after the code is done.