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

This commit is contained in:
Michael Stefaniuc 2008-08-18 22:31:31 +02:00 committed by Alexandre Julliard
parent 3b8aeb913b
commit 9c62181a38
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}