Fixed Error that caused destruction of SoundFile to segfault.