Use aligned deallocator

Change-Id: I1b51b057c3955541f22f648be9fe0ed8fb90e6c0
This commit is contained in:
Uwe L. Korn committed 2017-02-03 16:47:04 +01:00
1 parent 20c85052aa
commit dc5abdb312
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ Status MemoryPool::Reallocate(int64_t old_size, int64_t new_size, uint8_t** ptr)
void MemoryPool::Free(uint8_t* buffer, int64_t size) {
allocated_size_ -= size;
free(buffer);
dallocx(buffer, MALLOCX_ALIGN(kAlignment));
}
int64_t MemoryPool::bytes_allocated() const {