buaazp: Completion of malloc error handling.