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 1838 - [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Summary: [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Windows (All)
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 08:07 UTC by Roberto Prieto
Modified: 2013-05-16 03:56 UTC (History)
0 users

See Also:


Attachments
Direct3D resource leak fix patch (438 bytes, application/octet-stream)
2013-05-05 08:07 UTC, Roberto Prieto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Prieto 2013-05-05 08:07:46 UTC
Created attachment 1129 [details]
Direct3D resource leak fix patch

Hi,

while testing Direct3D code path, I found a small resource leak on SDL_DestroyRenderer().

The attached patch fixes it.

Thanks!
Roberto
Comment 1 Sam Lantinga 2013-05-16 03:56:46 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/5f13cca29fc1