mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8302218: CHeapBitMap::free frees with incorrect size
Reviewed-by: aboldtch, iklam, tschatzl
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user