• Dylan Smith's avatar
    richedit: Fixed Valgrind error related to undoing. · ebded163
    Dylan Smith authored
    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.
    ebded163
undo.c 12.2 KB