2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Free parameter request list prior to freeing lease state.

This commit is contained in:
Ted Lemon
1999-03-10 20:42:43 +00:00
parent 0527c2e320
commit a445402ce2

View File

@@ -94,7 +94,7 @@
#ifndef lint
static char ocopyright[] =
"$Id: dhcpd.c,v 1.56 1999/02/25 23:30:40 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
"$Id: dhcpd.c,v 1.57 1999/03/10 20:42:43 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
#endif
static char copyright[] =
@@ -401,6 +401,8 @@ void lease_pinged (from, packet, length)
/* At this point it looks like we pinged a lease and got a
response, which shouldn't have happened. */
data_string_forget (&lp -> state -> parameter_request_list,
"lease_pinged");
free_lease_state (lp -> state, "lease_pinged");
lp -> state = (struct lease_state *)0;