Try to handle a malloc failure.  I'm not entirely sure this is correct. There might be something else we need to do to handle the exception.
Try to handle a malloc failure.  I'm not entirely sure this is correct.
There might be something else we need to do to handle the exception.

Klocwork # 212-213

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator