mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix clearing leaked files with a passcode.
This commit is contained in:
parent
47ce695142
commit
2096007ed9
1 changed files with 3 additions and 1 deletions
|
@ -2722,7 +2722,9 @@ ReadMapState readMap(const QByteArray &pass) {
|
|||
_mapChanged = true;
|
||||
_writeMap(WriteMapWhen::Now);
|
||||
}
|
||||
clearLeakedFiles();
|
||||
if (result != ReadMapPassNeeded) {
|
||||
clearLeakedFiles();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue