Re: [gdome]cvs version segfault: unconnected Dtd node



On Tue, 23 Oct 2001, Tobias Peters wrote:

> Creating an unconnected DocumentType node conflicts with the new memory
> management. Test program:
> 
> [...]
>
> This dereferences the NULL pointer in gdome_treegc_addRef since the new
> DocumentType node is not associated with any document.
> 
> It seems the call to gdome_treegc_addRef has to be delayed until a call to
> gdome_di_createDocument uses this DocumentType node.
> 

OK, right, the DocumentType node is the only node you can create without a
Document node associated with it.

I think the solution you suggest is the better way to resolve the
problem. 

Your work, as usual, is very effective!

Thanx,
   paolo.
--
Paolo Casarini - casarini cs unibo it




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]