Fixed small error in *stats struct allocation.
Merge branch 'master' into cuckoo