r20738 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Wed Jan 27 23:04:35 UTC 2016
Author: jghali
Date: Wed Jan 27 23:04:35 2016
New Revision: 20738
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20738
Log:
fix resource leaks <coverity>
Modified:
trunk/Scribus/scribus/plugins/gettext/pdbim/pdbim.cpp
Modified: trunk/Scribus/scribus/plugins/gettext/pdbim/pdbim.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20738&path=/trunk/Scribus/scribus/plugins/gettext/pdbim/pdbim.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/pdbim/pdbim.cpp (original)
+++ trunk/Scribus/scribus/plugins/gettext/pdbim/pdbim.cpp Wed Jan 27 23:04:35 2016
@@ -109,6 +109,7 @@
ScMessageBox::warning(ScCore->primaryMainWindow(), QObject::tr("PDB Import", "PDB Importer"),
"<qt>" + QObject::tr("This file is not recognized as a PDB document. Please, report this as a bug if you are sure it is one.", "PDB Importer") + "</qt>",
QMessageBox::Ok, QMessageBox::NoButton);
+ fclose(m_pdfp);
return;
}
More information about the scribus-commit
mailing list