Fix: Memory leak in Graph editor keyframe jump
Introduced with #108549 Simply forgot to free the AnimData list Pull Request: https://projects.blender.org/blender/blender/pulls/111464
This commit is contained in:
committed by
Christoph Lendenfeld
parent
d8757236e0
commit
3f7eceea93
@@ -2285,6 +2285,8 @@ static int keyframe_jump_exec(bContext *C, wmOperator *op)
|
||||
|
||||
BKE_scene_frame_set(scene, closest_frame);
|
||||
|
||||
ANIM_animdata_freelist(&anim_data);
|
||||
|
||||
/* Set notifier that things have changed. */
|
||||
WM_event_add_notifier(C, NC_SCENE | ND_FRAME, ac.scene);
|
||||
return OPERATOR_FINISHED;
|
||||
|
||||
Reference in New Issue
Block a user