From 4bcdb16d418e6aeb93b5dc77b55f5918e5d44cc2 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 28 Dec 2000 23:34:08 +0000 Subject: [PATCH] Fix a case where leases could wind up with too many references. --- server/mdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mdb.c b/server/mdb.c index eb5f222a..7e81ec48 100644 --- a/server/mdb.c +++ b/server/mdb.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: mdb.c,v 1.46 2000/12/11 18:56:44 neild Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: mdb.c,v 1.47 2000/12/28 23:34:08 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1511,8 +1511,8 @@ void uid_hash_delete (lease) break; } } - lease_dereference (&head, MDL); } + lease_dereference (&head, MDL); } /* Add the specified lease to the hardware address hash. */