It is later saved in freelist global, but it is possible to move allocation inside if(token.next).