Make sure password gets deleted in case of exception in CoreUnix::MountVolume (#565)

This commit is contained in:
Hanno Böck 2019-12-05 16:09:40 +01:00 committed by Mounir IDRASSI
parent 4a215c2ddb
commit 5a56462959

View File

@ -465,6 +465,7 @@ namespace VeraCrypt
continue; continue;
} }
options.Password.reset();
throw; throw;
} }