fix memory leak in array modifier not freeing editmesh, also use better names for allocs.
This commit is contained in:
@@ -480,6 +480,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
|
||||
cddm = CDDM_from_BMEditMesh(em, NULL, 0);
|
||||
|
||||
BMEdit_Free(em);
|
||||
MEM_freeN(em);
|
||||
MEM_freeN(indexMap);
|
||||
|
||||
return cddm;
|
||||
|
||||
Reference in New Issue
Block a user