mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 15:25:48 +00:00
Free parameter request list prior to freeing lease state.
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
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
|
#endif
|
||||||
|
|
||||||
static char copyright[] =
|
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
|
/* At this point it looks like we pinged a lease and got a
|
||||||
response, which shouldn't have happened. */
|
response, which shouldn't have happened. */
|
||||||
|
data_string_forget (&lp -> state -> parameter_request_list,
|
||||||
|
"lease_pinged");
|
||||||
free_lease_state (lp -> state, "lease_pinged");
|
free_lease_state (lp -> state, "lease_pinged");
|
||||||
lp -> state = (struct lease_state *)0;
|
lp -> state = (struct lease_state *)0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user