We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1787 - memory leak in WIN_InitMouse()
Summary: memory leak in WIN_InitMouse()
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
: 1793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-05 11:53 UTC by Marcel Bakker
Modified: 2013-04-24 11:23 UTC (History)
2 users (show)

See Also:


Attachments
proposed patch (454 bytes, patch)
2013-04-05 11:53 UTC, Marcel Bakker
Details | Diff
proposed patch (505 bytes, patch)
2013-04-06 13:03 UTC, Marcel Bakker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bakker 2013-04-05 11:53:44 UTC
Created attachment 1101 [details]
proposed patch

the default SDL_Cursor is not being freed

proposed patch included
Comment 1 Marcel Bakker 2013-04-06 13:03:00 UTC
Created attachment 1103 [details]
proposed patch

made an additional modification to the proposed patch,
else the cursor wont show when SDL is reused from the same process.
Comment 2 Gabriel Jacobo 2013-04-24 11:22:54 UTC
Applied in http://hg.libsdl.org/SDL/rev/9d146930d4f2

Thanks!
Comment 3 Gabriel Jacobo 2013-04-24 11:23:34 UTC
*** Bug 1793 has been marked as a duplicate of this bug. ***