1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-13 07:13:00 +03:00

Cedar/Proto_PPP: Fix memory leak

This commit is contained in:
Yihong Wu 2023-01-30 20:24:45 +09:00 committed by GitHub
parent f4934abc9a
commit 43aaca509d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}