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)
/*
* Album (Buddy Icon Archiver)
*
* Copyright (C) 2005-2008, Sadrul Habib Chowdhury <imadil@gmail.com>
* Copyright (C) 2005-2008, Richard Laager <rlaager@pidgin.im>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02111-1301, USA.
*/
#ifndef _ALBUM_H_
#define _ALBUM_H_
/* If you can't figure out what this line is for, DON'T TOUCH IT. */
#include "../common/pp_internal.h"
#include <account.h>
#define PLUGIN_STATIC_NAME "album"
#define PLUGIN_ID "gtk-rlaager-" PLUGIN_STATIC_NAME
#define PREF_PREFIX "/plugins/" PLUGIN_ID
char *album_buddy_icon_get_dir(PurpleAccount *account, const char *name);
#endif /* _ALBUM_H_ */