On 1/26/2013 12:44 PM, Rainer Schuetze wrote: > Please note that c_function is C/C++ code. The struct is allocated on the C > heap, not in GC memory. "p = 0" clears the only reference in GC scanned memory > to the char array allocated and returned by toStringz(). Oh, I see what you mean. You're right.