Fix sibling leak (#1590)

* add test

* fix + test

* fix fix
This commit is contained in:
Awni Hannun
2024-11-18 19:17:01 -08:00
committed by GitHub
parent 9d7fa6b8e6
commit bf481e8e5d
3 changed files with 31 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ Buffer malloc(size_t size) {
}
void free(Buffer buffer) {
return allocator().free(buffer);
allocator().free(buffer);
}
Buffer CommonAllocator::malloc(size_t size, bool) {