From 741860df013dcc5c336d8d8b91c99ad3181f9edc Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 28 Aug 1996 01:19:42 +0000 Subject: Don't free hash name --- common/alloc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/alloc.c') 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); } -- cgit v1.2.1