Transform on "ipo keys" gave crash on ESC, due to non initialized pointer.
(Martin; that idea to not calloc new data... grumble!)
Note; that's another Margarita for Randall, at the Figueroa pool. :)
This commit is contained in:
Ton Roosendaal 2005-05-08 20:44:59 +00:00
parent ef2855bcab
commit 8077caa96e
1 changed files with 3 additions and 0 deletions

View File

@ -1132,6 +1132,9 @@ static void ipokey_to_transdata(IpoKey *ik, TransData *td)
BezTriple *bezt;
int a, delta= 0;
td->val= NULL; // is read on ESC
td->ext= NULL; // is read on ESC
for(a=0; a<OB_TOTIPO; a++) {
if(ik->data[a]) {
bezt= ik->data[a];