diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-12-23 00:18:49 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-12-25 23:43:52 +0100 |
commit | 0207cd14a19605ecd0b47921c109abb0e4b13eb7 (patch) | |
tree | fba6a408fe2dee3191e91b05649b502caef007d5 /DcsInt | |
parent | 667babbefe2e095e7765c3929626fbf1cd2a7041 (diff) | |
download | VeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.tar.gz VeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.zip |
Code clarity change: set Next field of DcsIntBlockIoFirst to NULL although it is already NULL at this code location since DcsIntBlockIo was allocated using AllocateZeroPool.
Diffstat (limited to 'DcsInt')
-rw-r--r-- | DcsInt/DcsInt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c index 5d91936..8ece8f8 100644 --- a/DcsInt/DcsInt.c +++ b/DcsInt/DcsInt.c @@ -374,6 +374,7 @@ IntBlockIo_Hook( // add to global list
if (DcsIntBlockIoFirst == NULL) {
DcsIntBlockIoFirst = DcsIntBlockIo;
+ DcsIntBlockIoFirst->Next = NULL;
}
else {
DcsIntBlockIoFirst->Next = DcsIntBlockIoFirst;
|