Sculpt IPMask: Fix memory leak in step compute
This commit is contained in:
parent
57b7eba4b6
commit
f791fc031e
|
@ -716,6 +716,7 @@ static float *sculpt_ipmask_compute_and_store_step(SculptSession *ss,
|
|||
MEM_freeN(current_mask);
|
||||
current_mask = MEM_dupallocN(next_mask);
|
||||
}
|
||||
MEM_freeN(current_mask);
|
||||
|
||||
/* Pack and store the delta step. */
|
||||
MaskFilterDeltaStep *delta_step;
|
||||
|
|
Loading…
Reference in New Issue