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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-04 07:26:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-04 07:26:01 +0400
commit45b02cee471dd75d54fc74d3bd6072ac7689d205 (patch)
treeea1a08ca98e0e122fbd17477658c732cf4997217 /source/blender/makesrna/intern/rna_access.c
parent2bba04f1b0c3fa3ebee7958706147e07fb413f56 (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/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index ae8280e9ec4..5e0ed7cd08b 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -5733,7 +5733,7 @@ void RNA_parameter_set(ParameterList *parms, PropertyRNA *parm, const void *valu
size *= data_alloc->array_tot;
if (data_alloc->array)
MEM_freeN(data_alloc->array);
- data_alloc->array = MEM_mallocN(size, AT);
+ data_alloc->array = MEM_mallocN(size, __func__);
memcpy(data_alloc->array, value, size);
}
else {