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

Summary: [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Product: SDL Reporter: Roberto Prieto <dm2>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Windows (All)   
Attachments: Direct3D resource leak fix patch

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