Free resources to be consistent.

Free the resources to silence coverity.
Make sure our read buffer is always terminated
Silence _setup_segments
Silence false positive coverity
Add  // coverity[dont_call] comment
Add more // coverity[dont_call] comments
Cosmetic changes to silence coverity
Indent source files
Merge pull request #38 from maxmind/bz/fix-or-silence-coverity

Bz/fix or silence coverity