VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-03-03 10:14:24 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-03-10 10:32:53 +0100
commit7d110798d2ec1dae02310939c1bd6b036b90f6bf (patch)
treeee4162d376b6346cd8b6417ae98ae7aada2179e5 /src
parentfa72ac51c4cb7d7a3184c718a48af589ebf9cf94 (diff)
downloadVeraCrypt-7d110798d2ec1dae02310939c1bd6b036b90f6bf.tar.gz
VeraCrypt-7d110798d2ec1dae02310939c1bd6b036b90f6bf.zip
Windows: Fix compilation error caused by previous keyfile commit
Diffstat (limited to 'src')
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index 244a82b1..8516e01f 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -487,8 +487,10 @@ void FinalizeGlobalLocks ()
void cleanup ()
{
burn (&CmdTokenPin, sizeof (CmdTokenPin));
+#ifndef SETUP
KeyFileRemoveAll (&FirstKeyFile);
KeyFileRemoveAll (&defaultKeyFilesParam.FirstKeyFile);
+#endif
/* Cleanup the GDI fonts */
if (hFixedFont != NULL)