mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-10 03:30:39 +03:00
Merge PR #1170: Cedar: fix server crash in CleanupSession()
This commit is contained in:
commit
e0c6813d44
@ -1267,7 +1267,10 @@ void CleanupSession(SESSION *s)
|
|||||||
FreePacketAdapter(s->PacketAdapter);
|
FreePacketAdapter(s->PacketAdapter);
|
||||||
}
|
}
|
||||||
#ifdef OS_UNIX
|
#ifdef OS_UNIX
|
||||||
|
if (s->ClientOption != NULL)
|
||||||
|
{
|
||||||
UnixVLanSetState(s->ClientOption->DeviceName, false);
|
UnixVLanSetState(s->ClientOption->DeviceName, false);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (s->OldTraffic != NULL)
|
if (s->OldTraffic != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user