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/editors/sculpt_paint/sculpt_undo.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/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 724e3ff1849..b086bff1ba7 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -712,7 +712,7 @@ static SculptUndoNode *sculpt_undo_bmesh_push(Object *ob, PBVHVertexIter vd; if (!lb->first) { - unode = MEM_callocN(sizeof(*unode), AT); + unode = MEM_callocN(sizeof(*unode), __func__); BLI_strncpy(unode->idname, ob->id.name, sizeof(unode->idname)); unode->type = type; |