Fix T55750: Crash on moving sequencer strip

Custom-data free callback was freeing transform data too.
This commit is contained in:
2018-07-04 10:31:31 +02:00
parent 405c6c077f
commit 13ec4be594

View File

@@ -5463,10 +5463,6 @@ static void freeSeqData(TransInfo *t, TransDataContainer *tc, TransCustomData *c
MEM_freeN(custom_data->data);
custom_data->data = NULL;
}
if (tc->data) {
MEM_freeN(tc->data); // XXX postTrans usually does this
tc->data = NULL;
}
}
static void createTransSeqData(bContext *C, TransInfo *t)