]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
This time for sure! (fix for spinning).
authorTed Lemon <source@isc.org>
Tue, 20 Mar 2001 22:25:30 +0000 (22:25 +0000)
committerTed Lemon <source@isc.org>
Tue, 20 Mar 2001 22:25:30 +0000 (22:25 +0000)
server/dhcp.c

index 5070231537ef2c81c70eacb8a366d830160ea243..a231eb1a7d201797d5bfdeba8aae1072d87ee6bb 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dhcp.c,v 1.187 2001/03/20 07:29:35 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcp.c,v 1.188 2001/03/20 22:25:30 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1506,6 +1506,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp)
                                        lease_dereference (&seek, MDL);
                                        if (next) {
                                            lease_reference (&seek, next, MDL);
+                                           lease_dereference (&next, MDL);
                                        }
                                }
                                if (next)