Hi,
I compile gdome using VC.
And meet a problem when running \test\bench.c
it is broken down in traversal()
because the ownerDoc is NULL after call gdome_xml_n_unref
Do you meet the same problem?
void gdome_xml_n_unref (GdomeNode *self, GdomeException *exc)
{
.......
switch (type) { .......
default: ........ n->_private =
NULL;
} }
void
gdome_treegc_delNode (GdomeNode *node) {
....... ownerDoc = gdome_xmlGetOwner
(priv->n)->_private;
g_assert (ownerDoc != NULL); ownerDoc->livenodes--; ........ } |