diff options
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 751e773a0b4..5d3e71c5a3c 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -5123,7 +5123,7 @@ static void createTransSeqData(bContext *C, TransInfo *t) return; } - t->custom.type.data = ts = MEM_mallocN(sizeof(TransSeq), "transseq"); + t->custom.type.data = ts = MEM_callocN(sizeof(TransSeq), "transseq"); t->custom.type.use_free = true; td = t->data = MEM_callocN(t->total * sizeof(TransData), "TransSeq TransData"); td2d = t->data2d = MEM_callocN(t->total * sizeof(TransData2D), "TransSeq TransData2D"); |