atl: Remove freeing of an invalid pointer

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

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

To quote msdn (  
on this issue:
1. "the return value is a handle to the data associated with the  
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