pidgin/pidgin

Fix a number of memory leaks

2021-10-27, Gary Kramlich
c357390f7c22
Fix a number of memory leaks

Testing Done:
ran under valgrind, opened the conversation window and then exited and verified valgrind no longer identified the fixed leaks.

Reviewed at https://reviews.imfreedom.org/r/1107/
syntax: glob
.*.swp
.DS_Store
.flatpak-builder
*.pyc
*~
\#*\#
syntax: regexp
^build(.+)?\/
win32-install-dir(\.release)?
po\/pidgin\.pot$
^subprojects\/.+\/