forgot to free memory for python api mesh.getTangents()

This commit is contained in:
2008-03-15 17:19:53 +00:00
parent 435a49dfe7
commit 02295c491f

View File

@@ -7660,8 +7660,10 @@ static PyObject *Mesh_getTangents( BPy_Mesh * self )
PyList_SetItem( py_tanlist, i, py_tuple );
}
if (orco)
MEM_freeN( orco );
BLI_memarena_free(arena);
if (orco) MEM_freeN( orco );
MEM_freeN( vtangents );
return py_tanlist;
}