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 - timidity read_config_file() doesn't close file when there is an error
Summary: timidity read_config_file() doesn't close file when there is an error
Status: RESOLVED FIXED
Alias: None
Product: SDL_sound
Classification: Unclassified
Component: everything (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Ryan C. Gordon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 11:14 UTC by Ozkan Sezer
Modified: 2011-06-15 13:13 UTC (History)
0 users

See Also:


Attachments
close config file on error (3.39 KB, patch)
2011-06-15 11:14 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.