diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-04 07:26:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-04 07:26:01 +0400 |
commit | 45b02cee471dd75d54fc74d3bd6072ac7689d205 (patch) | |
tree | ea1a08ca98e0e122fbd17477658c732cf4997217 /source/blender/modifiers/intern/MOD_uvproject.c | |
parent | 2bba04f1b0c3fa3ebee7958706147e07fb413f56 (diff) |
Code cleanup: no need to use calloc when memory is initialized after
also replace AT with __func__ since AT expands the full pathname
Diffstat (limited to 'source/blender/modifiers/intern/MOD_uvproject.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvproject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c index 8ded9847c2a..a9c0ac9b93d 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.c +++ b/source/blender/modifiers/intern/MOD_uvproject.c @@ -232,7 +232,7 @@ static DerivedMesh *uvprojectModifier_do(UVProjectModifierData *umd, numVerts = dm->getNumVerts(dm); - coords = MEM_callocN(sizeof(*coords) * numVerts, + coords = MEM_mallocN(sizeof(*coords) * numVerts, "uvprojectModifier_do coords"); dm->getVertCos(dm, coords); |