Fix for #24453: Missing delete statement.

This commit is contained in:
Joerg Mueller 2010-10-31 14:21:06 +00:00
parent 6b677a2616
commit 391c547208

@ -241,6 +241,7 @@ AUD_SoundInfo AUD_getInfo(AUD_Sound* sound)
{
info.specs = reader->getSpecs();
info.length = reader->getLength() / (float) info.specs.rate;
delete reader;
}
}
catch(AUD_Exception&)
@ -721,7 +722,7 @@ int AUD_setDeviceVolume(AUD_Device* device, float volume)
return true;
}
catch(AUD_Exception&) {}
return false;
}