Mercurial > pidgin
view finch/Makefile.am @ 29685:6797736dbe37
Does anyone know the purpose of the ui_write, ui_read and data_not_sent
FT UI callbacks? It looks like they allow a UI to decide how to safe
incoming file transfers? They're not used in Pidgin or Finch. Are
they used elsewhere?
Valgrind is complaining about an invalid free. I think it happens either
when the local user cancels a file transfer or when the remote user
cancels a file transfer. I think this change fixes it.
Revision fa4ce539e5025eb07aad3ca824cd4c512010d8a8 is related to these
callbacks and to this change by foufou33@ gee male dot com
The valgrind error is:
==23064== Invalid free() / delete / delete[]
==23064== at 0x4C24D68: free (vg_replace_malloc.c:325)
==23064== by 0x9293209: g_array_free (in /lib/libglib-2.0.so.0.2200.3)
==23064== by 0x95B1995: purple_xfer_priv_data_destroy (ft.c:71)
==23064== by 0x92AA5D1: ??? (in /lib/libglib-2.0.so.0.2200.3)
==23064== by 0x92AAE17: g_hash_table_remove_all (in /lib/libglib-2.0.so.0.2200.3)
==23064== by 0x92AAFC4: g_hash_table_destroy (in /lib/libglib-2.0.so.0.2200.3)
==23064== by 0x95B579C: purple_xfers_uninit (ft.c:1642)
==23064== by 0x95ACF08: purple_core_quit (core.c:238)
==23064== by 0x43EB3E: gtk_blist_delete_cb (gtkblist.c:227)
==23064== by 0x6F9A727: ??? (in /usr/lib/libgtk-x11-2.0.so.0.1800.3)
==23064== Address 0x2355f0e0 is not stack'd, malloc'd or (recently) free'd
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 06 Apr 2010 09:52:27 +0000 |
parents | 77423ba51dd4 |
children | f5e193735392 |
line wrap: on
line source
EXTRA_DIST = \ getopt.c \ getopt.h \ getopt1.c \ finch.pc.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = finch.pc SUBDIRS = libgnt plugins if ENABLE_GNT bin_PROGRAMS = finch endif finch_SOURCES = \ gntaccount.c \ gntblist.c \ gntcertmgr.c \ gntconn.c \ gntconv.c \ gntdebug.c \ gntft.c \ finch.c \ gntidle.c \ gntlog.c \ gntmedia.c \ gntnotify.c \ gntplugin.c \ gntpounce.c \ gntprefs.c \ gntrequest.c \ gntroomlist.c \ gntsound.c \ gntstatus.c \ gntui.c finch_headers = \ gntaccount.h \ gntblist.h \ gntcertmgr.h \ gntconn.h \ gntconv.h \ gntdebug.h \ gntft.h \ finch.h \ gntidle.h \ gntlog.h \ gntmedia.h \ gntnotify.h \ gntplugin.h \ gntpounce.h \ gntprefs.h \ gntrequest.h \ gntroomlist.h \ gntsound.h \ gntstatus.h \ gntui.h finchincludedir=$(includedir)/finch finchinclude_HEADERS = \ $(finch_headers) finch_DEPENDENCIES = @LIBOBJS@ finch_LDFLAGS = -export-dynamic finch_LDADD = \ @LIBOBJS@ \ $(DBUS_LIBS) \ $(INTLLIBS) \ $(GLIB_LIBS) \ $(LIBXML_LIBS) \ $(GNT_LIBS) \ $(GSTREAMER_LIBS) \ ./libgnt/libgnt.la \ $(top_builddir)/libpurple/libpurple.la AM_CPPFLAGS = \ -DSTANDALONE \ -DDATADIR=\"$(datadir)\" \ -DLIBDIR=\"$(libdir)/finch/\" \ -DLOCALEDIR=\"$(datadir)/locale\" \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -I$(top_srcdir)/libpurple/ \ -I$(top_srcdir) \ -I$(srcdir)/libgnt/ \ $(DEBUG_CFLAGS) \ $(GLIB_CFLAGS) \ $(DBUS_CFLAGS) \ $(LIBXML_CFLAGS) \ $(GSTREAMER_CFLAGS) \ $(GNT_CFLAGS)