From 90b94fdce51e3061686c4481d42d3bd6b22f360d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 1 Apr 2014 08:44:00 +1100 Subject: [PATCH] Fix for leak in BKE_sequence_sound_init --- source/blender/blenkernel/intern/sequencer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index b9ea2c63c7d..dbb865aa8ce 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -3651,7 +3651,7 @@ void BKE_sequence_sound_init(Scene *scene, Sequence *seq) seq->scene_sound = sound_add_scene_sound_defaults(scene, seq); } if (seq->scene) { - sound_scene_add_scene_sound_defaults(scene, seq); + seq->scene_sound = sound_scene_add_scene_sound_defaults(scene, seq); } } }