diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-04 17:50:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-04 17:50:09 +0400 |
commit | 42bbd7d62edd64d3622b2a8491d5d245162f3497 (patch) | |
tree | 5f94c2fd3ac8dd4b492d855898d450bcff5cd970 /source/blender | |
parent | 932be982d61726b5619ad568009b5fb2421638d8 (diff) |
fix for memory leak selecting dope sheet summary with mask/grease-pencil data.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_action/action_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c index 5eeb62a9e1d..964a6a20c37 100644 --- a/source/blender/editors/space_action/action_select.c +++ b/source/blender/editors/space_action/action_select.c @@ -967,6 +967,7 @@ static void actkeys_mselect_single(bAnimContext *ac, bAnimListElem *ale, short s else if (ale->type == ANIMTYPE_MASKLAYER) ED_mask_select_frame(ale->data, selx, select_mode); } + BLI_freelistN(&anim_data); } else { ANIM_animchannel_keyframes_loop(&ked, ac->ads, ale, ok_cb, select_cb, NULL); |