bugfix: macro redo could crash because of not nulled freed pointer.

This commit is contained in:
2010-01-04 20:18:13 +00:00
parent 29f90af19c
commit a325b8b3b9

View File

@@ -193,6 +193,7 @@ static int wm_macro_end(wmOperator *op, int retval)
if (retval & (OPERATOR_FINISHED|OPERATOR_CANCELLED)) {
if (op->customdata) {
MEM_freeN(op->customdata);
op->customdata = NULL;
}
}