mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Fix a case where leases could wind up with too many references.
This commit is contained in:
parent
a25a18d772
commit
4bcdb16d41
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user