Commit 5d7168da authored by Jarosław Staniek's avatar Jarosław Staniek

Fix memory leaks

Thanks to Dr. Valgrind
parent 179dc5c8
......@@ -59,6 +59,10 @@ KoReportItemLine::KoReportItemLine(QDomNode & element)
}
}
KoReportItemLine::~KoReportItemLine()
{
delete m_set;
}
void KoReportItemLine::createProperties()
{
......
......@@ -43,7 +43,7 @@ public:
createProperties();
}
explicit KoReportItemLine(QDomNode & element);
~KoReportItemLine() {};
~KoReportItemLine();
virtual QString typeName() const;
virtual int renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset, const QVariant &data, KRScriptHandler *script);
......
......@@ -126,6 +126,7 @@ void KoReportItemBarcode::createProperties()
KoReportItemBarcode::~KoReportItemBarcode()
{
delete m_set;
}
int KoReportItemBarcode::alignment()
......
......@@ -84,6 +84,7 @@ KoReportItemChart::KoReportItemChart(QDomNode & element)
KoReportItemChart::~KoReportItemChart()
{
delete m_set;
}
void KoReportItemChart::createProperties()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment