pidgin/pidgin

Fix some issues scanbuild found in our dns handling code
release-2.x.y
2021-06-01, Gary Kramlich
5c79001c7e86
Fix some issues scanbuild found in our dns handling code

Testing Done:
Verified scanbuild no longer detected the errors.

Reviewed at https://reviews.imfreedom.org/r/694/
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/pidgin"
REPOSITORY_TYPE = "mercurial"
BRANCH = "release-2.x.y"
LAND_DEST_BRANCH = "release-2.x.y"
LAND_PUSH = False