Index: src/text/ptbl/xp/pd_Document.cpp =================================================================== RCS file: /cvsroot/abi/src/text/ptbl/xp/pd_Document.cpp,v retrieving revision 1.148 diff -u -r1.148 pd_Document.cpp --- src/text/ptbl/xp/pd_Document.cpp 2001/11/08 16:03:12 1.148 +++ src/text/ptbl/xp/pd_Document.cpp 2001/11/14 21:07:28 @@ -135,6 +135,7 @@ if (errorCode) { UT_DEBUGMSG(("PD_Document::importFile -- could not construct importer\n")); + DELETEP(m_pPieceTable); return errorCode; } m_bLoading = true; @@ -145,6 +146,7 @@ if (errorCode) { UT_DEBUGMSG(("PD_Document::importFile -- could not import file\n")); + DELETEP(m_pPieceTable); return errorCode; }