pidgin/pidgin

Re-write remove_prefs to not use recursion.

2019-11-05, Elliott Sales de Andrade
d1ad503fe389
Re-write remove_prefs to not use recursion.

This also fixes the possible use-after-free that scan-build seems to
think is there.
SAMETIMESOURCES = [
'sametime.c',
'sametime.h',
'im_mime.c',
'im_mime.h',
]
if DYNAMIC_SAMETIME
sametime_prpl = shared_library('sametime', SAMETIMESOURCES,
c_args : ['-DG_LOG_DOMAIN="sametime"'],
dependencies : [meanwhile, gmime, libpurple_dep, glib],
install : true, install_dir : PURPLE_PLUGINDIR)
subdir('tests')
endif