Pull 1498: Fixed memory leak introduced with alsa playback fix and compiler warnings in files