Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / curve / editcurve.c
index c3e92589791c0dadeb1ea8e767f169823f43a405..94b090bff053eef570262c4ff4526873cc879c3b 100644 (file)
@@ -530,7 +530,7 @@ static GHash *dupli_keyIndexHash(GHash *keyindex)
        GHash *gh;
        GHashIterator gh_iter;
 
-       gh = BLI_ghash_ptr_new_ex("dupli_keyIndex gh", BLI_ghash_size(keyindex));
+       gh = BLI_ghash_ptr_new_ex("dupli_keyIndex gh", BLI_ghash_len(keyindex));
 
        GHASH_ITER (gh_iter, keyindex) {
                void *cv = BLI_ghashIterator_getKey(&gh_iter);