Fixed a handful of potential memory leaks reported by clang static analysis.
Merge branch 'master' of https://github.com/Unidata/netcdf-c