[fix] Resource leaks
[Fix] More resource leaks & travis will build with ALSA and PulseAudio support
Merge master to coverity_scan
Merge branch 'master' into coverity_scan
[fix] Resource leaks and variable tainting. Test OK