Fix a nasty memory leak in the SoundEffect system.