by AlexeyBrin·9y ago·view on hn ↗Correct, this is a bug. calloc will better mimic the way C++ std::vector works.