Fix some issues scanbuild found in gtkthemes.c

Review Request #697 — Created June 1, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y
d1d88e1e4cbb

Reviewers

Fix some issues scanbuild found in gtkthemes.c

Verified scanbuild no longer detected an issue.