[Bug 2848] possible memory leak in dlls/user/user16.c, function DragObject16

Wine Bugs wine-bugs at winehq.org
Sat Jul 30 16:17:33 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2848


felix.nawothnig at t-online.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From felix.nawothnig at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list