svn merge -r39384:39433 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / blenlib / intern / BLI_ghash.c
index bfee350037ae898e06c2fc639ed6a09543f877ca..dd685c606d2b4f8d8a9ddccadb9ca23129d00ee6 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;