Michael Stefaniuc : riched20: Remove redundant NULL check before HeapFree ( Smatch).
Alexandre Julliard
julliard at winehq.org
Tue Aug 19 08:46:34 CDT 2008
Module: wine
Branch: master
Commit: 9c62181a38640296d72c61650b58ecabf26ca8ae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c62181a38640296d72c61650b58ecabf26ca8ae
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Aug 18 22:31:31 2008 +0200
riched20: Remove redundant NULL check before HeapFree (Smatch).
---
dlls/riched20/list.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/list.c b/dlls/riched20/list.c
index 092fde4..4ddc54a 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);
}
More information about the wine-cvs
mailing list