user32: Use a safer method of freeing user handles to prevent zeroing out a newly allocated handle

Paul Chitescu paulc at voip.null.ro
Fri Jun 18 06:09:38 CDT 2010


Changelog:
	user32: Use a safer method of freeing user handles to prevent zeroing out a 
newly allocated handle

Fixes random crashes in multithreaded programs rapidly creating and destroying 
many handles (bitmaps, icons, windows, etc.)

Supersedes "user32: Lock user32 in alloc_user_handle to fix races with 
get_user_handle_ptr" without taking the user lock.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user32_free_user_handle_safe.patch
Type: text/x-patch
Size: 1023 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100618/bb0af613/attachment-0001.bin>


More information about the wine-patches mailing list