The main reason to use TArrays in the first place is to not worry to much about memory, UE4 cleans up after you for the most part. A good habit to get into regardless of how confident you are in what a pointer is pointing to is the check if it’s valid before using it.
This is a good example of how to do just that.