[comctl32/header] Check Null before accessing structmember
Paul.Vriens at xs4all.nl
Fri Jun 2 03:38:22 CDT 2006
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.
Check for NULL pointer before accessing structmember
-------------- next part --------------
A non-text attachment was scrubbed...
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