mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 12:03:28 +01:00
Make sure password gets deleted in case of exception in CoreUnix::MountVolume (#565)
This commit is contained in:
parent
4a215c2ddb
commit
5a56462959
@ -465,6 +465,7 @@ namespace VeraCrypt
|
||||
continue;
|
||||
}
|
||||
|
||||
options.Password.reset();
|
||||
throw;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user