diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-08-14 17:12:16 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-08-14 17:12:16 +0300 |
commit | 0dcd442c1f23e0210363cb6c2ec0c2a6e39c35af (patch) | |
tree | ec6f832b9bb407162bdf6a223e6a09aefd171663 /source/blender/editors/animation | |
parent | b7f86ff72273ffa546c7b06bcebfed85fe67951d (diff) |
Fix T68487: double free when inserting keyframe outside of action clip range
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index de6e4c2fd0d..dcc596e67e1 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -1484,10 +1484,10 @@ short insert_keyframe(Main *bmain, flag); } } - } - if (values != value_buffer) { - MEM_freeN(values); + if (values != value_buffer) { + MEM_freeN(values); + } } BKE_animsys_free_nla_keyframing_context_cache(&tmp_nla_cache); |