Commit fabb3451 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Add note about memory leak

parent 67b05d63
......@@ -145,6 +145,7 @@ QVariant KisGmicFilterModel::data(const QModelIndex& index, int role) const
Command * commandItem = dynamic_cast<Command *>(item);
if (commandItem)
{
//TODO: fix memory leak by using QScopedPointer
KisGmicFilterSetting * settings = new KisGmicFilterSetting;
commandItem->writeConfiguration(settings);
......
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