Re: [g-a-devel]Another at-poke change



Hi Padraig,

On Fri, 2002-10-04 at 17:12, Padraig O'Briain wrote:
> This attached patch fixes the crasher bug reported in bug 94849.

	Lovely ...

> When a node is unreffed because its parent was collapsed there are problems if 
> we call mnode_destroy(). The value node->data will be pointing to unallocated 
> memory. If we set it to NULL then when the parent is expanded we do not have the 
> value of the Accessible in the node. Omitting the call to mnode_destroy() at 
> this point seems to fix all these problem.

	I never understood precisely what the meaning of all the node reffing
and un-reffing going on in the tree was about; if you're happy with this
- go for it.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




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