rikki cattermole wrote:
Tell it to free[0] the array directly.```D T[] array; GC.free(array.ptr);
or just `delete arr;`. it is marked as "deprecated" in changelog, but who cares? it works.
ketmar via Digitalmars-d-learn Mon, 24 Jul 2017 07:57:03 -0700
rikki cattermole wrote:
Tell it to free[0] the array directly.```D T[] array; GC.free(array.ptr);
or just `delete arr;`. it is marked as "deprecated" in changelog, but who cares? it works.