Fix some issues scanbuild found in novell

Review Request #703 — Created June 2, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y
dafe4ce72c8a

Reviewers

Fix some issues scanbuild found in novell

Verified scanbuild no longer detected an error.