Fix memory leak in DatabaseTabWidget::openDatabase function

This commit is contained in:
frostasm 2017-10-04 19:17:34 +03:00 committed by Jonathan White
parent 14e3d9d576
commit 2481367ab4

View File

@ -181,6 +181,7 @@ void DatabaseTabWidget::openDatabase(const QString& fileName, const QString& pw,
lockFile->tryLock();
}
} else {
delete lockFile;
return;
}
}