From 47eb21dafdf5b9e1f14400cfbb96562e234fa642 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 23 Apr 2007 16:19:58 +0200 Subject: [PATCH] fixed another bug with mixed 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 f57412b7..4dc223fe 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -350,7 +350,7 @@ static inline void P(cleanup_alloc) (TAU) { } #ifdef HASH_TABLE_ALLOC 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); } +static inline void P(table_free) (TAUC void *x) { P(free)(TTC x); } #else static inline void * P(table_alloc) (TAUC unsigned int size) { return xmalloc(size); } static inline void P(table_free) (TAUC void *x) { xfree(x); } -- 2.39.2