At 10:15 AM 12/31/2001 -1000, [EMAIL PROTECTED] wrote:
> >You have also forgotten to free the second allocation. I see that you call
>
>My understanding is that string destroy will go away or become a noop with GC
>(Dan is this correct?).  So I intentionally did not mess with it.

Yup. Destroyed strings just get their buffer pointers set to NULL. GC'll 
collect things up. Also means COW string buffers can share pointers to the 
same buffer.

I'll add the patch anyway, though, since we don't have COW strings yet.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to