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-01-29 03:31:53 +0300
committerRichard Antalik <richardantalik@gmail.com>2022-01-29 03:31:53 +0300
commit544a0f2880ffc31dcbb8df39a249945f390698bb (patch)
treea663e936a6925eb7b6bca935f720f5e3c79b4c77 /source/blender
parent03b57d39731a3902ac99d2e8e23aa309ac21c131 (diff)
Fix memory leak when adding movie strips
Introduced by b45e71e22cc7.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_add.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index 72c39839739..d9d801b56ac 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -795,6 +795,7 @@ static int sequencer_add_movie_strip_exec(bContext *C, wmOperator *op)
/* Free custom data. */
sequencer_add_cancel(C, op);
+ SEQ_collection_free(movie_strips);
seq_build_proxy(C, movie_strips);
DEG_relations_tag_update(bmain);