Fixed memory leak introduced with alsa playback fix and compiler warnings in files.