VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-21 12:24:40 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-21 13:44:00 +0200
commit22e4a8a25282f519d1bf082d4066023c3f005c75 (patch)
treed68ba58fc988d74bcae9724ad791c745eed9315c /src/Common/Random.c
parentc70f370bacf38e435146ee8834d4c6ae3e326f19 (diff)
downloadVeraCrypt-22e4a8a25282f519d1bf082d4066023c3f005c75.tar.gz
VeraCrypt-22e4a8a25282f519d1bf082d4066023c3f005c75.zip
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 9e2d3b3b..ba1691d4 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;
}
}