Michael Stefaniuc : oleaut32: Remove superfluous NULL check before HeapFree (Smatch).
Alexandre Julliard
julliard at winehq.org
Mon Mar 1 09:27:34 CST 2010
Module: wine
Branch: master
Commit: 400fb552198335c1314bf49f0ae983a1357029e6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=400fb552198335c1314bf49f0ae983a1357029e6
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sun Feb 28 21:48:09 2010 +0100
oleaut32: Remove superfluous NULL check before HeapFree (Smatch).
---
dlls/oleaut32/typelib2.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index de84e4a..4544317 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3141,8 +3141,7 @@ static void WINAPI ITypeInfo2_fnReleaseTypeAttr(
{
TRACE("(%p,%p)\n", iface, pTypeAttr);
- if(pTypeAttr)
- HeapFree(GetProcessHeap(), 0, pTypeAttr);
+ HeapFree(GetProcessHeap(), 0, pTypeAttr);
}
/******************************************************************************
More information about the wine-cvs
mailing list