Commit 64bcd9f6 authored by Boudewijn Rempt's avatar Boudewijn Rempt

QPointer doesn't delete, so fix memory leak.

parent 887ae59e
...@@ -1373,6 +1373,8 @@ QImage KisImage::convertToQImage(const QSize& scaledImageSize, const KoColorProf ...@@ -1373,6 +1373,8 @@ QImage KisImage::convertToQImage(const QSize& scaledImageSize, const KoColorProf
KisTransformWorker worker(dev, scaleX, scaleY, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, updater, KisFilterStrategyRegistry::instance()->value("Bicubic")); KisTransformWorker worker(dev, scaleX, scaleY, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, updater, KisFilterStrategyRegistry::instance()->value("Bicubic"));
worker.run(); worker.run();
delete updater;
return dev->convertToQImage(profile); return dev->convertToQImage(profile);
} }
void KisImage::notifyLayersChanged() void KisImage::notifyLayersChanged()
......
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