From: Pavel Charvat Date: Mon, 23 Apr 2007 14:19:58 +0000 (+0200) Subject: fixed another bug with mixed HASH_GIVE_ALLOC and HASH_TABLE_ALLOC X-Git-Tag: holmes-import~506^2~83 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=47eb21dafdf5b9e1f14400cfbb96562e234fa642;p=libucw.git fixed another bug with mixed HASH_GIVE_ALLOC and HASH_TABLE_ALLOC --- 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); }