Fix sound memory leak