summaryrefslogtreecommitdiff
path: root/common/alloc.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-08-28 01:19:42 +0000
committerTed Lemon <source@isc.org>1996-08-28 01:19:42 +0000
commit741860df013dcc5c336d8d8b91c99ad3181f9edc (patch)
treea27cad7315e9e285fc71240d06b4e5c776005549 /common/alloc.c
parent6ae5ceaa6fd25a81f5e39de8e57cab51c326e15e (diff)
downloadisc-dhcp-741860df013dcc5c336d8d8b91c99ad3181f9edc.tar.gz
Don't free hash name
Diffstat (limited to 'common/alloc.c')
-rw-r--r--common/alloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/alloc.c b/common/alloc.c
index 402be475..dcf4672d 100644
--- a/common/alloc.c
+++ b/common/alloc.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: alloc.c,v 1.8 1996/08/27 09:31:27 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: alloc.c,v 1.9 1996/08/28 01:19:42 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -208,8 +208,6 @@ void free_hash_bucket (ptr, name)
struct hash_bucket *ptr;
char *name;
{
- if (ptr -> name)
- dfree ((VOIDPTR)ptr -> name, name);
dfree ((VOIDPTR)ptr, name);
}