Fix some null pointer deferences and dead stores that scanbuild found in Pidgin

Review Request #719 — Created June 3, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y
e040eb4336c8

Reviewers

Fix some null pointer deferences and dead stores that scanbuild found in Pidgin

Verified scanbuild no long detected the errors.