From 9c62181a38640296d72c61650b58ecabf26ca8ae Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 18 Aug 2008 22:31:31 +0200 Subject: [PATCH] riched20: Remove redundant NULL check before HeapFree (Smatch). --- dlls/riched20/list.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/riched20/list.c b/dlls/riched20/list.c index 092fde47332..4ddc54a9bfc 100644 --- a/dlls/riched20/list.c +++ b/dlls/riched20/list.c @@ -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); } -- 2.11.4.GIT