pidgin/pidgin

Fix some issues scanbuild found

20 months ago, Gary Kramlich
ba5964adbf7f
Fix some issues scanbuild found

Testing Done:
ran `ninja scan-build` and verified the issues were resolved.

Reviewed at https://reviews.imfreedom.org/r/1585/
subdir('reference')
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif