diff --git a/dlls/riched20/list.c b/dlls/riched20/list.c index db4630881c7..ad7b4b659e4 100644 --- a/dlls/riched20/list.c +++ b/dlls/riched20/list.c @@ -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); }