NOISSUE fix a benign leak in FTB implementation
This commit is contained in:
parent
fc43fd1105
commit
c943019ab5
@ -77,8 +77,8 @@ void OneSixFTBInstance::copy(const QDir &newDir)
|
|||||||
qDebug() << "Copying FTB libraries";
|
qDebug() << "Copying FTB libraries";
|
||||||
for (auto library : libraryNames)
|
for (auto library : libraryNames)
|
||||||
{
|
{
|
||||||
OneSixLibrary *lib = new OneSixLibrary(library);
|
OneSixLibrary lib(library);
|
||||||
const QString out = QDir::current().absoluteFilePath("libraries/" + lib->storageSuffix());
|
const QString out = QDir::current().absoluteFilePath("libraries/" + lib.storageSuffix());
|
||||||
if (QFile::exists(out))
|
if (QFile::exists(out))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user