Commit 56c58d47 authored by Laurent Montel's avatar Laurent Montel 😁

Fix mem leak

parent c4e17fea
......@@ -35,7 +35,8 @@ AllHeaderStylePlugin::AllHeaderStylePlugin(QObject *parent, const QList<QVariant
AllHeaderStylePlugin::~AllHeaderStylePlugin()
{
delete mHeaderStyle;
delete mHeaderStrategy;
}
HeaderStyle *AllHeaderStylePlugin::headerStyle() const
......
......@@ -35,7 +35,8 @@ BriefHeaderStylePlugin::BriefHeaderStylePlugin(QObject *parent, const QList<QVar
BriefHeaderStylePlugin::~BriefHeaderStylePlugin()
{
delete mHeaderStyle;
delete mHeaderStrategy;
}
HeaderStyle *BriefHeaderStylePlugin::headerStyle() const
......
......@@ -36,7 +36,8 @@ EnterpriseHeaderStylePlugin::EnterpriseHeaderStylePlugin(QObject *parent, const
EnterpriseHeaderStylePlugin::~EnterpriseHeaderStylePlugin()
{
delete mHeaderStyle;
delete mHeaderStrategy;
}
HeaderStyle *EnterpriseHeaderStylePlugin::headerStyle() const
......
......@@ -35,7 +35,8 @@ FancyHeaderStylePlugin::FancyHeaderStylePlugin(QObject *parent, const QList<QVar
FancyHeaderStylePlugin::~FancyHeaderStylePlugin()
{
delete mHeaderStyle;
delete mHeaderStrategy;
}
HeaderStyle *FancyHeaderStylePlugin::headerStyle() const
......
......@@ -36,7 +36,8 @@ LongHeaderStylePlugin::LongHeaderStylePlugin(QObject *parent, const QList<QVaria
LongHeaderStylePlugin::~LongHeaderStylePlugin()
{
delete mHeaderStyle;
delete mHeaderStrategy;
}
HeaderStyle *LongHeaderStylePlugin::headerStyle() const
......
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