Fixed memory leaks in audio streaming.