Michael Stefaniuc : riched20: Remove redundant NULL check before heap_free (Smatch).
Alexandre Julliard
julliard at winehq.org
Sat Jun 21 05:39:12 CDT 2008
Module: wine
Branch: master
Commit: bc0acd1ac2a8ee22bf5c91bd81de22382e1e792d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc0acd1ac2a8ee22bf5c91bd81de22382e1e792d
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sat Jun 21 00:18:40 2008 +0200
riched20: Remove redundant NULL check before heap_free (Smatch).
---
dlls/riched20/editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 8acb74d..899b82f 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -3879,7 +3879,7 @@ BOOL ME_IsCandidateAnURL(ME_TextEditor *editor, int sel_min, int sel_max)
return TRUE;
}
}
- if (bufferW != NULL) heap_free(bufferW);
+ heap_free(bufferW);
return FALSE;
}
More information about the wine-cvs
mailing list