From: Pavel Charvat Date: Wed, 5 Dec 2007 09:33:05 +0000 (+0100) Subject: HashTables: X-Git-Tag: holmes-import~495^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5be2a814873dadc5e7e457cc35780f8b6765d3db;p=libucw.git HashTables: The allocator should be initialized before we make the initial array allocation. --- diff --git a/lib/hashtable.h b/lib/hashtable.h index 4dc223fe..5002f806 100644 --- a/lib/hashtable.h +++ b/lib/hashtable.h @@ -401,8 +401,8 @@ static void P(init) (TA) #else T.hash_hard_max = 1 << 28; #endif - P(alloc_table)(TT); P(init_alloc)(TT); + P(alloc_table)(TT); } #ifdef HASH_WANT_CLEANUP