http://bugs.winehq.org/show_bug.cgi?id=2848
felix.nawothnig@t-online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
------- Additional Comments From felix.nawothnig@t-online.de 2005-30-07 16:17 -------
hBummer is assigned a pointer return from LoadCursorA. Because it transitively loads an icon with the LR_SHARED flag, it returns an object that has a reference count.
AFAIK it doesn't. It stays in memory until the module is unloaded (If i'm not mistaken there is no way to free an LR_SHARED resource anyway? DestroyCursor isn't allowed according to MSDN). And since subsequent calls will return a handle to the already loaded resource this is not really a leak... resolving invalid.