Commit a56c456b authored by Albert Astals Cid's avatar Albert Astals Cid

delete pdfConv

svn path=/trunk/KDE/kdegraphics/okular/; revision=837829
parent dab65cd4
......@@ -1538,7 +1538,9 @@ bool PDFGenerator::save( const QString &fileName, SaveOptions options )
pdfConv->setPDFOptions( pdfConv->pdfOptions() | Poppler::PDFConverter::WithChanges );
QMutexLocker locker( userMutex() );
return pdfConv->convert();
bool success = pdfConv->convert();
delete pdfConv;
return success;
Q_UNUSED( fileName )
Q_UNUSED( options )
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