Fix some issues scanbuild found in the xmpp protocol plugin
Review Request #711 — Created June 2, 2021 and submitted — Latest diff uploaded
Fix some issues scanbuild found in the xmpp protocol plugin
Verified that scanbuild no longer detected the errors.