Fix for leak in BKE_sequence_sound_init

This commit is contained in:
Campbell Barton 2014-04-01 08:44:00 +11:00
parent d25ba1eccd
commit 90b94fdce5

@ -3651,7 +3651,7 @@ void BKE_sequence_sound_init(Scene *scene, Sequence *seq)
seq->scene_sound = sound_add_scene_sound_defaults(scene, seq); seq->scene_sound = sound_add_scene_sound_defaults(scene, seq);
} }
if (seq->scene) { if (seq->scene) {
sound_scene_add_scene_sound_defaults(scene, seq); seq->scene_sound = sound_scene_add_scene_sound_defaults(scene, seq);
} }
} }
} }