Removed malloc/calloc castings