Source Code Project Mantis - FSSCP
View Issue Details
0003168FSSCPsoundpublic2015-07-10 21:202015-07-11 05:52
Assigned Tom_m 
PlatformOSOS Version
Product Version3.7.3 
Target VersionFixed in Version 
Summary0003168: snd_load leaks cfile handles if it can't parse a file.
Descriptionsnd_load() returns before closing the file handle if ds_parse_sound() fails.
That can lead to a "A free Cfile_block could not be found." error if a mod contains a corrupted audio file.

BTA ran into this problem when FSO couldn't read a .wav file:
Steps To ReproduceCreate a ship or weapon which uses a corrupted sound file and use it in FSO.
TagsNo tags attached.
Attached Files

2015-07-11 04:59   
PR containing a fix:

Issue History
2015-07-10 21:20ngldNew Issue
2015-07-11 04:59m_mNote Added: 0016761
2015-07-11 05:52m_mStatusnew => resolved
2015-07-11 05:52m_mResolutionopen => fixed
2015-07-11 05:52m_mAssigned To => m_m