Fix for crash when assigning document.body

Dirk Mueller mueller at kde.org
Tue Oct 7 23:51:25 CEST 2003


On Sunday 05 October 2003 20:59, Maciej Stachowiak wrote:

> I think straight refcounting would be better than this, the 
> parent should just hold a ref instead of expecting the parent pointer
> to magically keep the object alive.

so the parent node should ref all its direct children. is that what you mean?

> Also, I should add that KJS objects are not created with a refcount of
> 1

Hmm, indeed. I seemed to remember differently. perhaps this behavior was 
already sanitized ;-)

-- 
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <


More information about the Khtml-devel mailing list