fixup 97cf2b6a: avoid leak

This commit is contained in:
Jean-Marc Lasgouttes 2024-02-27 18:37:07 +01:00
parent 97cf2b6aef
commit 789a886af8

View File

@ -5799,7 +5799,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
cur.resetAnchor();
cur.selection(true);
cur.top().pos() = 0;
}
} else
delete inset;
}
break;