Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
June 15, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schveiguy@yahoo.com Assignee|nobody@puremagic.com |schveiguy@yahoo.com --- Comment #1 from Steven Schveighoffer <schveiguy@yahoo.com> --- The issue is with array using uninitializedArray to allocate. This function does not (and really cannot) initialize the proper GC bits to call the destructors properly. std.array.array should use normal array allocation functions when the type being allocated has a destructor. -- |
June 15, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |All OS|Mac OS X |All Severity|enhancement |normal -- |
June 15, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Steven Schveighoffer <schveiguy@yahoo.com> --- PR: https://github.com/dlang/phobos/pull/6584 -- |
June 20, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 --- Comment #3 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/4fe18b905526b4c1d0fb19aa28ccfcddf27ffcdc Fix issue 18995 - Make sure GC calls destructor when using std.array.array https://github.com/dlang/phobos/commit/db66b82b178480a636024371d76d016e6ee03971 Merge pull request #6584 from schveiguy/fix18995 Fix issue 18995 - Make sure GC calls destructor when using std.array.array merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com> -- |
June 20, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
June 21, 2018 [Issue 18995] std.array.array doesn't free elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18995 Steven Schveighoffer <schveiguy@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safety0ff.bugz@gmail.com --- Comment #4 from Steven Schveighoffer <schveiguy@yahoo.com> --- *** Issue 12444 has been marked as a duplicate of this issue. *** -- |
Copyright © 1999-2021 by the D Language Foundation