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:
authorRichard Antalik <richardantalik@gmail.com>2022-05-03 11:17:28 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-05-03 11:20:41 +0300
commitdaa9edc9be7a4837283eb46c8908c7b8eccec0c8 (patch)
treefe01a957a8ea4f70be3f8b9e29f68a7d290d26c5 /source/blender/sequencer
parentfd9840321121b4aa8b60c0384219918356b850f2 (diff)
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.
Diffstat (limited to 'source/blender/sequencer')
-rw-r--r--source/blender/sequencer/intern/effects.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/sequencer/intern/effects.c b/source/blender/sequencer/intern/effects.c
index d4dd21add4e..d9d21ee3b05 100644
--- a/source/blender/sequencer/intern/effects.c
+++ b/source/blender/sequencer/intern/effects.c
@@ -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(