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 1230

Summary: timidity read_config_file() doesn't close file when there is an error
Product: SDL_sound Reporter: Ozkan Sezer <sezeroz>
Component: everythingAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Ryan C. Gordon <icculus>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: close config file on error

Description Ozkan Sezer 2011-06-15 11:14:02 UTC
Created attachment 628 [details]
close config file on error

timidity read_config_file() doesn't close file when there is an error.  Attached tiny patch fixes that.
Comment 1 Ryan C. Gordon 2011-06-15 13:13:46 UTC
This is now hg changeset 65059e40a150 for the development branch and hg changeset f3fd207c0eea for the stable-1.0 branch.

Thanks!

--ryan.