pidgin/purple-plugin-pack

e20719bdb45b
Plug a leak and more tightly scope some code.

==21150== by 0x90C0DCD: g_slist_prepend (gslist.c:160)
==21150== by 0x9379586: purple_find_buddies (blist.c:2488)
==21150== by 0x14AFAE15: historize (enhancedhist.c:128)
/*************************************************************************
* Recursion test module
* by Martijn van Oosterhout <kleptog@svana.org> (C) April 2006
* Licenced under the GNU General Public Licence version 2.
*
* Code to test the recursion module.
*************************************************************************/
#include <stdio.h>
#include "recurse.h"
int
process_entry(char *str, void *ptr)
{
printf("%s\n", str);
return 0;
}
int
main()
{
recurse_directory("/usr/share/zoneinfo", process_entry, main);
return 0;
}