Fix a use-after-free of `full_name`.

Also add some guards against future use-after-free bugs.
Merge pull request #4 from mbrubeck/free

Fix a use-after-free of `full_name`.