From eafa89a87343d36fcc8b9e87f64d15e3cd07c7e2 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 20 Jun 1997 04:56:28 +0000 Subject: (ihash_create): Initialize CLEANUP & CLEANUP_ARG fields. --- libihash/ihash.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libihash/ihash.c b/libihash/ihash.c index 8454cdfb..635a90c2 100644 --- a/libihash/ihash.c +++ b/libihash/ihash.c @@ -1,6 +1,6 @@ /* Integer-keyed hash table functions. - Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -85,6 +85,8 @@ ihash_create(ihash_t *ht) if (*ht == NULL) return ENOMEM; (*ht)->size = 0; + (*ht)->cleanup = 0; + (*ht)->cleanup_arg = 0; return 0; } -- cgit v1.2.3