Fix T97744: Speed effect causes memory leak

Leak was caused because output image buffer was initialized twice. Once
in speed effect strip and then by cross effect strip used for
interpolation feature.
This commit is contained in:
Richard Antalik 2022-05-03 10:17:28 +02:00
parent fd98403211
commit daa9edc9be
Notes: blender-bot 2023-02-13 15:34:33 +01:00
Referenced by issue #97744, Regression: Memory leak caused by speed control strip in video sequencer
1 changed files with 0 additions and 1 deletions

View File

@ -2712,7 +2712,6 @@ static ImBuf *do_speed_effect(const SeqRenderData *context,
ImBuf *out;
if (s->flags & SEQ_SPEED_USE_INTERPOLATION) {
out = prepare_effect_imbufs(context, ibuf1, ibuf2, ibuf3);
fac = speed_effect_interpolation_ratio_get(context->scene, seq, timeline_frame);
/* Current frame is ibuf1, next frame is ibuf2. */
out = seq_render_effect_execute_threaded(