fix [#36218] Crash attempting to delete right side of hard cut in VSE on movie strip

deleting a strip would try free the anim membe twice.
This commit is contained in:
2013-07-19 08:04:05 +00:00
parent 530bcc422e
commit 4e1afbe7cd

View File

@@ -179,8 +179,10 @@ static void BKE_sequence_free_ex(Scene *scene, Sequence *seq, const int do_cache
if (seq->strip)
seq_free_strip(seq->strip);
if (seq->anim)
if (seq->anim) {
IMB_free_anim(seq->anim);
seq->anim = NULL;
}
if (seq->type & SEQ_TYPE_EFFECT) {
struct SeqEffectHandle sh = BKE_sequence_get_effect(seq);