On May 9, 2012 12:53 PM, "Gor Gyolchanyan" <gor.f.gyolchan...@gmail.com> wrote: > Wouldn't it make more sense for GC to ignore second deallocation? > If this was the case, data, which is know to become garbage would be > deallocated right away. > On the other hand, I might as well use std.c.stdlib.realloc for these cases.
No, because then the GC could never give out that same location in memory again.