commit | 909fa3e649c659bbb055f97cc9277080a1725ea8 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Jul 31 16:27:33 2023 -0400 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Mon Jul 31 16:28:48 2023 -0400 |
tree | 42d8b79c6ff4a3e95dbf4facadb7228fa7c7d8d3 | |
parent | a51e08b06a4318a201547b7458f6483e830d86e5 [diff] |
unbreak MallocExtension::GetAllocatedSize() for debug allocator Some years back we fixed memalign vs realloc bug, but we preserved 'wrong' malloc_size/GetAllocatedSize implementation for debug allocator. This commit refactors old code making sure we always use right data_size and it fixes GetAllocatedSize. We update our unittest accordingly. Closes #738