diff options
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 621be8023a2..18ccb357579 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -411,7 +411,8 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd, BMEdit_Free(em); MEM_freeN(em); - MEM_freeN(indexMap); + if (indexMap) + MEM_freeN(indexMap); return result; } |