[comctl32/header] Check Null before accessing structmember
(Coverity)
Paul Vriens
Paul.Vriens at xs4all.nl
Fri Jun 2 03:38:22 CDT 2006
Hi,
we use a structmember before we checked for NULL. I haven't checked if
it's even remotely possible to pass a NULL pointer but the code seems a
bit cleaner now. It should also satisfy Coverity (cid 849), although
that's not a goal in itself.
Changelog
Check for NULL pointer before accessing structmember
Cheers,
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetItemT_cid849.diff
Type: text/x-patch
Size: 560 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060602/d391944f/GetItemT_cid849.diff
More information about the wine-patches
mailing list