Fix memory leak in loop-cut error case

This commit is contained in:
2019-10-03 07:30:18 +10:00
parent d1d21dac51
commit fcdd851858

View File

@@ -386,7 +386,6 @@ static int loopcut_init(bContext *C, wmOperator *op, const wmEvent *event)
bool ok = true;
if (is_interactive == false) {
if (exec_data.base_index >= bases_len) {
return OPERATOR_CANCELLED;
ok = false;
}
else {