should not leak anymore

This commit is contained in:
Martchus 2016-03-01 22:04:24 +01:00
parent d49d205d76
commit eccd2e3e41
3 changed files with 3 additions and 2 deletions

View File

@ -1023,7 +1023,7 @@ Package *Repository::addPackageFromDescription(QString name, const QList<QByteAr
pkgRawPtr->putDescription(name, fields, origin);
{
QWriteLocker locker(&m_lock);
//m_packages[name] = move(pkg);
m_packages[name] = move(pkg);
}
return pkgRawPtr;
}

View File

@ -58,6 +58,7 @@ int main(int argc, char *argv[])
}
manager.addDatabasesFromRepoIndexConfig();
manager.initAlpmDataBases();
return application.exec();
cerr << shchar << "Restoring cache ... ";
manager.restoreCache();
cerr << shchar << "DONE" << endl;