Commit 1e85e7c7 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

riched20: Fix a leak in the undo stack.

parent b7501a3b
......@@ -121,6 +121,8 @@ void ME_DestroyDisplayItem(ME_DisplayItem *item) {
if (item->type==diUndoSetCharFormat || item->type==diUndoSetDefaultCharFormat) {
ME_ReleaseStyle(item->member.ustyle);
}
if (item->type==diUndoSplitParagraph)
FREE_OBJ(item->member.para.pFmt);
FREE_OBJ(item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment