pidgin/pidgin

Fix some issues scanbuild found

21 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/
if get_option('doc')
subdir('libpurple')
subdir('protocols')
if ENABLE_GTK
subdir('pidgin')
else
pidgin_doc = []
endif
if enable_consoleui
subdir('finch')
else
finch_doc = []
endif
alias_target('doc', libpurple_doc, protocols_doc, pidgin_doc, finch_doc)
endif