Fixed small error in *stats struct allocation.