sizeof(int*) where sizeof(int) was intended

main
Nik Bougalis 11 years ago
parent d40c1f742f
commit bfee319fb0
  1. 2
      util/hash_cuckoo_rep.cc

@ -70,7 +70,7 @@ class HashCuckooRep : public MemTableRep {
}
cuckoo_path_ = reinterpret_cast<int*>(
arena_->Allocate(sizeof(int*) * (cuckoo_path_max_depth_ + 1)));
arena_->Allocate(sizeof(int) * (cuckoo_path_max_depth_ + 1)));
is_nearly_full_ = false;
}

Loading…
Cancel
Save