pidgin: 3aa40432: Plug leak of PurpleContact->alias
paul at darkrain42.org
paul at darkrain42.org
Sun Apr 12 18:50:36 EDT 2009
-----------------------------------------------------------------
Revision: 3aa40432680da4c7bc95e5f02c58e7779b1a3b1b
Ancestor: 009cd1791a028ae463fba5c8a2ee1c60021efb61
Author: paul at darkrain42.org
Date: 2009-04-12T21:30:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3aa40432680da4c7bc95e5f02c58e7779b1a3b1b
Modified files:
libpurple/blist.c
ChangeLog:
Plug leak of PurpleContact->alias
==00:00:20:55.821 30045== 27 bytes in 2 blocks are definitely lost in loss record 409 of 1,838
==00:00:20:55.821 30045== by 0x09b4182d: g_strdup (gstrfuncs.c:102)
==00:00:20:55.821 30045== by 0x07cf3c57: purple_blist_alias_contact (blist.c:946)
==00:00:20:55.821 30045== by 0x07cf3fba: purple_blist_load (blist.c:450)
-------------- next part --------------
============================================================
--- libpurple/blist.c 3aa060931c1a95e41d90287863d8d54a155339e7
+++ libpurple/blist.c 2d9d4bb68fb8a3209be1d8952f50e8207553f862
@@ -1582,6 +1582,7 @@ purple_contact_destroy(PurpleContact *co
purple_contact_destroy(PurpleContact *contact)
{
g_hash_table_destroy(contact->node.settings);
+ g_free(contact->alias);
PURPLE_DBUS_UNREGISTER_POINTER(contact);
g_free(contact);
}
More information about the Commits
mailing list