# HG changeset patch # User Paul Aurich # Date 1239571833 0 # Node ID 3e274d6fcfaa2bac489952eee4b0565399d2a81b # Parent 652efbbf1b4571753bcae7795e3b41b8bb6bca72 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) diff -r 652efbbf1b45 -r 3e274d6fcfaa libpurple/blist.c --- a/libpurple/blist.c Sun Apr 12 20:47:38 2009 +0000 +++ b/libpurple/blist.c Sun Apr 12 21:30:33 2009 +0000 @@ -1582,6 +1582,7 @@ purple_contact_destroy(PurpleContact *contact) { g_hash_table_destroy(contact->node.settings); + g_free(contact->alias); PURPLE_DBUS_UNREGISTER_POINTER(contact); g_free(contact); }