summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_cp.c')
-rw-r--r--gatchat/ppp_cp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c
index bade6bbe..b0a18aac 100644
--- a/gatchat/ppp_cp.c
+++ b/gatchat/ppp_cp.c
@@ -938,6 +938,8 @@ void pppcp_send_protocol_reject(struct pppcp_data *data,
ppp_transmit(data->ppp, pppcp_to_ppp_packet(packet),
ntohs(packet->length));
+
+ pppcp_packet_free(packet);
}
/*