Added use of allocation error print