Derek Parnell wrote: >..... > void *p = malloc(size); > if (p == null) > throw new OutOfMemoryException; > buf = cast(byte[])p[0..size]; > > I assume that the " = p[x..y]" construct adds the root to the GC. I doubt that. L.