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:
authorJoshua Leung <aligorith@gmail.com>2014-12-05 04:15:46 +0300
committerJoshua Leung <aligorith@gmail.com>2014-12-05 04:15:46 +0300
commit844909b294a61292b6c4677cb60849a9cb5596d9 (patch)
tree3b693b92661b9513bb15e0402d64196acd47c778 /source/blender/editors/space_nla/nla_edit.c
parente93990dfc5a8482c7e0b9b1c4d64ec8ec8095f65 (diff)
Fix for typo + memory leak
Diffstat (limited to 'source/blender/editors/space_nla/nla_edit.c')
-rw-r--r--source/blender/editors/space_nla/nla_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/nla_edit.c b/source/blender/editors/space_nla/nla_edit.c
index 35c540b27b3..a883f350f1c 100644
--- a/source/blender/editors/space_nla/nla_edit.c
+++ b/source/blender/editors/space_nla/nla_edit.c
@@ -2331,6 +2331,9 @@ static int nla_fmodifier_copy_exec(bContext *C, wmOperator *op)
}
}
+ /* free temp data */
+ ANIM_animdata_freelist(&anim_data);
+
/* successful or not? */
if (ok == 0) {
BKE_report(op->reports, RPT_ERROR, "No F-Modifiers available to be copied");