svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / blenlib / intern / BLI_ghash.c
index 3c6a20b8ad6a1920a56af3923ae173e82c9a2761..432ba7c59cf342510ec23259a0d72d45dbe59fa2 100644 (file)
@@ -53,7 +53,7 @@ GHash *BLI_ghash_new(GHashHashFP hashfp, GHashCmpFP cmpfp, const char *info) {
        GHash *gh= MEM_mallocN(sizeof(*gh), info);
        gh->hashfp= hashfp;
        gh->cmpfp= cmpfp;
-       gh->entrypool = BLI_mempool_create(sizeof(Entry), 64, 64, 0);
+       gh->entrypool = BLI_mempool_create(sizeof(Entry), 64, 64, 1, 0);
 
        gh->cursize= 0;
        gh->nentries= 0;