atl: Remove freeing of an invalid pointer

Aleksey Bragin aleksey at reactos.org
Tue May 6 08:04:50 CDT 2008


Changelog: Don't try to HeapFree a handle returned by LoadResource.

To quote msdn (http://msdn.microsoft.com/en-us/library/ms648046.aspx)  
on this issue:
1. "the return value is a handle to the data associated with the  
resource"
2. "Do not pass this handle to the GlobalLock or GlobalFree function".


With the best regards,
Aleksey Bragin.



More information about the wine-patches mailing list