jgm/stmd — pull request #150 by tchetch (2014-10-06 14:22:23+00:00)
Title: Memory allocation

- Test for NULL after allocation
- Use of calloc instead of malloc