UNREFP(doc) still ok?

From: Seth Delackner <seth-abi_at_delackner.com>
Date: Mon Aug 16 2004 - 21:30:33 CEST

In abiconvert, when a doc is finished converting, I normally
end by doing:

UNREFP(the pd_Document instance);
IE_ImpExp_UnRegisterXP();

and then return zero or one. But as of my last cvs up sync,
UNREFP is dying. I guess since my app just quits after
running a conversion, I can just not do any cleanup, but I'd
rather do the right thing.

Below is the stack trace generated:

#0 0x0009a6e8 in pp_TableAttrProp::~pp_TableAttrProp (this=0x230f7ac, __in_chrg=0) at src/text/ptbl/xp/pp_TableAttrProp.cpp:74
74 UT_VECTOR_PURGEALL(PP_AttrProp *, m_vecTable);
Current language: auto; currently c++
(gdb) where
#0 0x0009a6e8 in pp_TableAttrProp::~pp_TableAttrProp (this=0x230f7ac, __in_chrg=0) at src/text/ptbl/xp/pp_TableAttrProp.cpp:74
#1 0x000aac94 in docbDefaultSAXHandler ()
#2 0x0009c568 in pt_PieceTable::~pt_PieceTable (this=0x230f7ac, __in_chrg=36763476) at src/text/ptbl/xp/pt_PieceTable.cpp:61
#3 0x000893ac in dyld_stub_xmlOutputBufferCreateFilename () at src/text/ptbl/xp/pd_Document.cpp:123
#4 0x00021f98 in AD_Document::unref (this=0x230f9e0) at src/af/xap/xp/xad_Document.cpp:182
Received on Mon Aug 16 21:17:46 2004

This archive was generated by hypermail 2.1.8 : Mon Aug 16 2004 - 21:17:48 CEST