From a19aa090d2e6504ba1a0b7b5aad045d4d583d3ea Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Thu, 8 Apr 2021 18:36:55 +0200 Subject: VSE: Fix building image proxies Broken by 04e1feb83051 Caused by accidentaly moving `SEQ_proxy_rebuild_finish` outside of `if (nseq->type == SEQ_TYPE_MOVIE)` condition in function `SEQ_proxy_rebuild_context()`. --- source/blender/sequencer/intern/proxy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/sequencer') diff --git a/source/blender/sequencer/intern/proxy.c b/source/blender/sequencer/intern/proxy.c index a0e6bc7f4f1..14667c53421 100644 --- a/source/blender/sequencer/intern/proxy.c +++ b/source/blender/sequencer/intern/proxy.c @@ -472,10 +472,10 @@ bool SEQ_proxy_rebuild_context(Main *bmain, context->quality, context->overwrite, file_list); - } - if (!context->index_context) { - SEQ_proxy_rebuild_finish(context, false); - return false; + if (!context->index_context) { + MEM_freeN(context); + return false; + } } link = BLI_genericNodeN(context); -- cgit v1.2.3