digitalmars.D.bugs - [Issue 21324] New: live not detecting overwrite of Owner without
- d-bugmail puremagic.com (23/23) Oct 18 2020 https://issues.dlang.org/show_bug.cgi?id=21324
https://issues.dlang.org/show_bug.cgi?id=21324 Issue ID: 21324 Summary: live not detecting overwrite of Owner without disposing of previous owned value Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com int* malloc(); void free(int*); live void test() { int* p = malloc(); p = malloc(); // does not detect reassignment of owner free(p); } --
Oct 18 2020