riched20: Remove redundant NULL check before HeapFree (Smatch).
This commit is contained in:
parent
3b8aeb913b
commit
9c62181a38
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue