[Issue 15140] New: std.experimental.allocator.building_blocks.free_list.FreeList leaks memory
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 2 14:48:39 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15140
Issue ID: 15140
Summary: std.experimental.allocator.building_blocks.free_list.F
reeList leaks memory
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: briancschott at gmail.com
Copied from a comment on the merge request on Github:
FreeList has no destructor. This means that if there is a free list backed by
Mallocator, any memory that user code tried to deallocate but was still on the
free list at the time that the list went out of scope will be leaked.
--
More information about the Digitalmars-d-bugs
mailing list