1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 19:09:52 +03:00

Merge PR #1354: Mayaqua/FileIO: Fix typo causing segmentation fault on Hamcore cache expiration

This commit is contained in:
Davide Beatrici 2021-05-26 21:14:59 +02:00 committed by GitHub
commit 2262b8a160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -789,7 +789,7 @@ BUF *ReadHamcore(char *name)
for (UINT i = 0; i < LIST_NUM(to_delete); ++i) for (UINT i = 0; i < LIST_NUM(to_delete); ++i)
{ {
HC *c = LIST_DATA(hamcore, i); HC *c = LIST_DATA(to_delete, i);
Delete(hamcore, c); Delete(hamcore, c);