Commit 1c4d90f3 authored by Laurent Montel's avatar Laurent Montel 😁

Fix potential mem leak

parent 66bfe939
......@@ -65,6 +65,7 @@ public:
~Private()
{
delete mEngine;
mTemplateLoader.clear();
}
void changeGrantleePath(const QString &path)
......
......@@ -48,6 +48,7 @@ public:
~Private()
{
delete mEngine;
mTemplateLoader.clear();
}
void changeGrantleePath(const QString &path)
......
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