From d81211bb8cb5fa357e7a6046e284ba0ff5a6cc28 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 23 Apr 2007 14:07:19 +0200 Subject: [PATCH] hashtables: fixed combination of HASH_GIVE_ALLOC and HASH_TABLE_ALLOC --- lib/hashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hashtable.h b/lib/hashtable.h index ec581ed7..f57412b7 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -349,7 +349,7 @@ static inline void P(cleanup_alloc) (TAU) { } #endif #ifdef HASH_TABLE_ALLOC -static inline void * P(table_alloc) (TAUC unsigned int size) { return P(alloc)(size); } +static inline void * P(table_alloc) (TAUC unsigned int size) { return P(alloc)(TTC size); } static inline void P(table_free) (TAUC void *x) { P(free)(x); } #else static inline void * P(table_alloc) (TAUC unsigned int size) { return xmalloc(size); } -- 2.39.2