praxes/hexrd — pull request #35 by ddale (2014-07-26 13:19:07+00:00)
Title: Malloc failure

The call to malloc may fail if enough memory is not available. This catches the error and raises a RuntimeError, rather than segfaulting.