mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 17:49:52 +03:00
Merge pull request #1757 from domosekai/domosekai-patch-1
Cedar/Proto_PPP: Fix memory leak
This commit is contained in:
commit
064d211fab
@ -2457,6 +2457,7 @@ bool PPPSendAndRetransmitRequest(PPP_SESSION *p, USHORT protocol, PPP_LCP *c)
|
||||
if (PPPSendPacketEx(p, pp, false) == false)
|
||||
{
|
||||
PPPSetStatus(p, PPP_STATUS_FAIL);
|
||||
FreePPPPacket(pp);
|
||||
WHERE;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user