VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Format/Tcformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Format/Tcformat.c')
-rw-r--r--src/Format/Tcformat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c
index 3e8fa7dd..bd83078f 100644
--- a/src/Format/Tcformat.c
+++ b/src/Format/Tcformat.c
@@ -2745,11 +2745,10 @@ static void __cdecl volTransformThreadFunction (void *hwndDlgArg)
bHiddenVolFinished = FALSE;
nHiddenVolHostSize = nVolumeSize;
// Clear the outer volume password
- memset(&szVerify[0], 0, sizeof (szVerify));
- memset(&szRawPassword[0], 0, sizeof (szRawPassword));
- memset(&volumePim, 0, sizeof (volumePim));
+ burn(&szVerify[0], sizeof (szVerify));
+ burn(&szRawPassword[0], sizeof (szRawPassword));
MessageBeep (MB_OK);
}