bugfix: macro redo could crash because of not nulled freed pointer.
This commit is contained in:
		@@ -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;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user