NULL may be passed as the value in, out, in-out; or as a return value.
Don't free data after the code is done.