Commit 9c62181a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

riched20: Remove redundant NULL check before HeapFree (Smatch).

parent 3b8aeb91
......@@ -123,8 +123,7 @@ void ME_DestroyDisplayItem(ME_DisplayItem *item) {
}
if (item->type==diUndoSplitParagraph) {
FREE_OBJ(item->member.para.pFmt);
if (item->member.para.pCell)
FREE_OBJ(item->member.para.pCell);
FREE_OBJ(item->member.para.pCell);
}
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