Some missing checks for allocation failures.