richedit: Fixed Valgrind error related to undoing.
The error was a memory access of a freed object. In ME_AddUndoItem I
checked the top of the undo stack to end a coalescing undo transaction,
assuming that this should be either a valid undo item, or NULL, instead
it was already freed.
Showing
Please
register
or
sign in
to comment