Minor fix.

Added a couple of allocation failure checks.  For 1332727.
1 file changed