]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Free parameter request list prior to freeing lease state.
authorTed Lemon <source@isc.org>
Wed, 10 Mar 1999 20:42:43 +0000 (20:42 +0000)
committerTed Lemon <source@isc.org>
Wed, 10 Mar 1999 20:42:43 +0000 (20:42 +0000)
server/dhcpd.c

index 7b9e3c8c2fd756370385cee67d44c5f1d25974a8..e8a16fba099e4963fd44fa47f0bf363cd37a7ea5 100644 (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;