summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/compoundhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/compoundhandler.cpp')
-rw-r--r--addon/xmlparse/compoundhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/addon/xmlparse/compoundhandler.cpp b/addon/xmlparse/compoundhandler.cpp
index c299397..dd81a2a 100644
--- a/addon/xmlparse/compoundhandler.cpp
+++ b/addon/xmlparse/compoundhandler.cpp
@@ -21,6 +21,8 @@ CompoundHandler::CompoundHandler(IBaseHandler *parent)
: m_parent(parent), m_brief(0), m_detailed(0)
{
m_superClasses.setAutoDelete(TRUE);
+ m_subClasses.setAutoDelete(TRUE);
+ m_sections.setAutoDelete(TRUE);
addEndHandler("compounddef",this,&CompoundHandler::endCompound);
@@ -42,6 +44,8 @@ CompoundHandler::CompoundHandler(IBaseHandler *parent)
CompoundHandler::~CompoundHandler()
{
+ delete m_brief;
+ delete m_detailed;
}
void CompoundHandler::startSection(const QXmlAttributes& attrib)