Fix some issues scanbuild found in the silc protocol plugin

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

Information

pidgin/pidgin
release-2.x.y
ff97cafeb436

Reviewers

Fix some issues scanbuild found in the silc protocol plugin

Verified that scanbuild no longer detected the errors.