wtsi-npg/baton — pull request #68 by keithj (2014-05-23 08:03:22+00:00)
Title: Refactor to improve error handling and code clarity

Refactored error handling in some JSON functions; added an error parameter.

Moved some memory allocation of strings to the stack.

Removed some unused functions.