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)
EXTRA_DIST = \
Makefile.mingw \
plugins.cfg
enhancedhistdir = $(PIDGIN_LIBDIR)
enhancedhist_la_LDFLAGS = -module -avoid-version
if HAVE_PIDGIN
enhancedhist_LTLIBRARIES = enhancedhist.la
enhancedhist_la_LIBADD = \
$(PIDGIN_LIBS) \
$(GLIB_LIBS)
enhancedhist_la_SOURCES = enhancedhist.c
endif
AM_CPPFLAGS = \
-DLIBDIR=\"$(PIDGIN_LIBDIR)\" \
-DDATADIR=\"$(PIDGIN_DATADIR)\" \
$(DEBUG_CFLAGS) \
$(PIDGIN_CFLAGS) \
$(GTK_CFLAGS) \
$(GLIB_CFLAGS)