Fix various leaks in 7z archive parsing code and isolate leaks in rar handling code to rar archives only

This commit is contained in:
Felix Kauselmann
2015-03-25 15:17:20 +01:00
parent 7f04e688f4
commit efa50285fe
3 changed files with 86 additions and 46 deletions

View File

@ -30,7 +30,7 @@ int main(int argc, char *argv[])
QString s(argv[1]);
QStringList supportedFormats;
supportedFormats << "rar" << "zip" << "tar";
supportedFormats << "rar"<< "zip" << "tar";
QElapsedTimer timer;
timer.start();
@ -67,7 +67,7 @@ int main(int argc, char *argv[])
cerr << archive.getFileNames().at(0).toStdString();
}
}
}
}
quint64 end = timer.elapsed();