On 1/26/2013 1:41 AM, Johannes Pfau wrote: > IIRC toStringz is also dangerous. You have to make sure that the C > library does not store the pointer or also store it manually so the GC > can find it. (This is not different from passing other C/D pointers, but > with toStringz it's easy to miss). That's not a bug in the GC, though.