diff --git a/generators/ghostview/okulargsasyncgenerator.cpp b/generators/ghostview/okulargsasyncgenerator.cpp index 47d5f4992..eadab4f2a 100644 --- a/generators/ghostview/okulargsasyncgenerator.cpp +++ b/generators/ghostview/okulargsasyncgenerator.cpp @@ -43,6 +43,7 @@ void PixHandler::slotPixmap(const QImage* img) *pix = QPixmap::fromImage(*img); bool done=!pix->isNull(); kWarning () << "Conversion from qimage " << done << endl; + delete img; // QDialog t; // t.resize(pix->width(),pix->height()); // t.setBackgroundPixmap(*pix);