VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-21 10:24:40 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-21 11:44:00 (GMT)
commit22e4a8a25282f519d1bf082d4066023c3f005c75 (patch)
treed68ba58fc988d74bcae9724ad791c745eed9315c /src/Common/Random.c
parentc70f370bacf38e435146ee8834d4c6ae3e326f19 (diff)
downloadVeraCrypt-22e4a8a25282f519d1bf082d4066023c3f005c75.zip
VeraCrypt-22e4a8a25282f519d1bf082d4066023c3f005c75.tar.gz
Windows: fix crash caused by previous Streebog fix.
Diffstat (limited to 'src/Common/Random.c')
-rw-r--r--src/Common/Random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c
index 9e2d3b3..ba1691d 100644
--- a/src/Common/Random.c
+++ b/src/Common/Random.c
@@ -203,7 +203,7 @@ freePool:
if (pRandPool != NULL)
{
burn (pRandPool, RANDOMPOOL_ALLOCSIZE);
- TCfree (pRandPool);
+ _aligned_free (pRandPool);
pRandPool = NULL;
}
}