writerfilter07: resolved memory leak in OOXMLTableImpl::resolve
This commit is contained in:
parent
f96a1d437d
commit
1e0de25a29
2 changed files with 2 additions and 1 deletions
|
@ -153,6 +153,7 @@ public:
|
|||
class WRITERFILTER_DLLPUBLIC Table
|
||||
{
|
||||
public:
|
||||
typedef boost::shared_ptr<Table> Pointer_t;
|
||||
/**
|
||||
Receives an entry of the table.
|
||||
|
||||
|
|
|
@ -723,7 +723,7 @@ OOXMLTableImpl::~OOXMLTableImpl()
|
|||
void OOXMLTableImpl::resolve(Table & rTable)
|
||||
{
|
||||
#ifdef DEBUG_PROTOCOL
|
||||
Table * pTable = new TableProtocol(&rTable, debug_logger);
|
||||
Table::Pointer_t pTable(new TableProtocol(&rTable, debug_logger));
|
||||
#else
|
||||
Table * pTable = &rTable;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue