8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
This commit is contained in:
parent
d77a41033a
commit
f99ad11dd1
@ -131,7 +131,7 @@ CHeapBitMap::CHeapBitMap(idx_t size_in_bits, MEMFLAGS flags, bool clear)
|
||||
}
|
||||
|
||||
CHeapBitMap::~CHeapBitMap() {
|
||||
free(map(), size());
|
||||
free(map(), size_in_words());
|
||||
}
|
||||
|
||||
bm_word_t* CHeapBitMap::allocate(idx_t size_in_words) const {
|
||||
|
Loading…
Reference in New Issue
Block a user