calloc is not needed for web buffer