fixed unimportant memleaks pointed out by coverity
silence some false positive out of bounds reports from coverity
simplified live stream publisher code