Skip to content

Commit bfee319

Browse files
committed
sizeof(int*) where sizeof(int) was intended
1 parent d40c1f7 commit bfee319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/hash_cuckoo_rep.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class HashCuckooRep : public MemTableRep {
7070
}
7171

7272
cuckoo_path_ = reinterpret_cast<int*>(
73-
arena_->Allocate(sizeof(int*) * (cuckoo_path_max_depth_ + 1)));
73+
arena_->Allocate(sizeof(int) * (cuckoo_path_max_depth_ + 1)));
7474
is_nearly_full_ = false;
7575
}
7676

0 commit comments

Comments
 (0)