Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-21 00:38:08 +0400
committerTon Roosendaal <ton@blender.org>2005-10-21 00:38:08 +0400
commit968b3e71013e5afa1235977ba10f81e7e2a702a6 (patch)
tree32ac16c3eb8d3afb551d4fce629e1b5f28fb43e9 /source/blender/blenkernel/intern/deform.c
parentc677ffdebbc977aee21c8af97d09d4aeb6c2f2dc (diff)
Memory error 'end corrupt' reports for deform groups... can't find it yet,
but this code ensures the strcpy() is using BLI_strncpy now, and it uses more clear names for the mallocs.
Diffstat (limited to 'source/blender/blenkernel/intern/deform.c')
-rw-r--r--source/blender/blenkernel/intern/deform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/deform.c b/source/blender/blenkernel/intern/deform.c
index be3c1afc2c5..2b44a10e913 100644
--- a/source/blender/blenkernel/intern/deform.c
+++ b/source/blender/blenkernel/intern/deform.c
@@ -88,7 +88,7 @@ bDeformGroup* copy_defgroup (bDeformGroup *ingroup)
if (!ingroup)
return NULL;
- outgroup=MEM_callocN(sizeof(bDeformGroup), "deformGroup");
+ outgroup=MEM_callocN(sizeof(bDeformGroup), "copy deformGroup");
/* For now, just copy everything over. */
memcpy (outgroup, ingroup, sizeof(bDeformGroup));