pidgin/pidgin

Fix leaked errors

13 months ago, Elliott Sales de Andrade
3fc2d2b7b7a8
Fix leaked errors

And also simplify some cases with `g_clear_error`.

Testing Done:
Compiled and ran tests in valgrind, though it never noticed these anyway.

Reviewed at https://reviews.imfreedom.org/r/2384/
PURPLE_HISTORY_SOURCES = [
'purplehistorycore.c',
]
purple_history = executable('purple-history',
PURPLE_HISTORY_SOURCES,
dependencies : [libpurple_dep, glib],
install : true)