Removed casts of malloc.