quartz: Check allocation failure and clearmemoryinDSound Renderer

Alexandre Julliard julliard at winehq.org
Mon Mar 12 04:28:50 CDT 2007


"Dmitry Timoshkov" <dmitry at codeweavers.com> writes:

> If (void*)0 doesn't guarantee to actually set all bits to 0, then
> HEAP_ZERO_MEMORY doesn't guarantee it either.

Yes, that's the point. In theory you have to initialize things with an
explicit assignment, instead of a memset or HEAP_ZERO_MEMORY. In
practice it doesn't matter.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list