Cedar/Proto_PPP: Fix memory leak

This commit is contained in:
Yihong Wu authored and GitHub committed 2023-01-30 20:24:45 +09:00
1 parent f4934abc9a
commit 43aaca509d
1 file changed
+1
+1
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;
}