projects
/
emufront
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Exceptions are instantiated in stack instead of heap.
[emufront]
/
src
/
utils
/
unziphelper.cpp
diff --git
a/src/utils/unziphelper.cpp
b/src/utils/unziphelper.cpp
index
af489a1
..
14b4bce
100644
(file)
--- a/
src/utils/unziphelper.cpp
+++ b/
src/utils/unziphelper.cpp
@@
-41,7
+41,7
@@
QMap<QString, EmuFrontObject*> UnzipHelper::listContents(const QString filePath,
QFile fl(filePath);
if (!fl.open(QIODevice::ReadOnly)) {
- throw new EmuFrontException(tr("Couldn't read file %1.").arg(filePath));
+ throw EmuFrontException(tr("Couldn't read file %1.").arg(filePath));
}
//Setup *sup = fp->getSetup();