oleaut32: Remove superfluous NULL check before HeapFree (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Tue Mar 16 17:05:39 CDT 2010
---
dlls/oleaut32/typelib2.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c
index a275845..ec3ec1c 100644
--- a/dlls/oleaut32/typelib2.c
+++ b/dlls/oleaut32/typelib2.c
@@ -3854,9 +3854,7 @@ static ULONG WINAPI ICreateTypeLib2_fnRelease(ICreateTypeLib2 *iface)
}
}
- if(typeinfo->dual)
- HeapFree(GetProcessHeap(), 0, typeinfo->dual);
-
+ HeapFree(GetProcessHeap(), 0, typeinfo->dual);
HeapFree(GetProcessHeap(), 0, typeinfo);
}
--
1.7.0.2
More information about the wine-patches
mailing list