mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Fix memory leak in DatabaseTabWidget::openDatabase function
This commit is contained in:
parent
5098866413
commit
4e903e4c50
@ -181,6 +181,7 @@ void DatabaseTabWidget::openDatabase(const QString& fileName, const QString& pw,
|
|||||||
lockFile->tryLock();
|
lockFile->tryLock();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
delete lockFile;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user