Clear LUKS label when closing crypt.

This commit is contained in:
Andrius Štikonas 2016-04-24 21:51:49 +01:00
parent 96ceadd3be
commit 12c03cfeff
1 changed files with 2 additions and 1 deletions

View File

@ -313,6 +313,7 @@ bool luks::cryptClose(const QString& deviceNode)
m_innerFs = nullptr;
m_passphrase.clear();
setLabel({});
m_isCryptOpen = (m_innerFs != nullptr);