From: Ted Lemon Date: Tue, 20 Mar 2001 22:25:30 +0000 (+0000) Subject: This time for sure! (fix for spinning). X-Git-Tag: V3-BETA-2-PATCH-22~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59bdb6a11a2242d6d43265f8bc7b0133e5cb4f2d;p=thirdparty%2Fdhcp.git This time for sure! (fix for spinning). --- diff --git a/server/dhcp.c b/server/dhcp.c index 507023153..a231eb1a7 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -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)