changeset 26630:3e274d6fcfaa

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)
author Paul Aurich <paul@darkrain42.org>
date Sun, 12 Apr 2009 21:30:33 +0000
parents 652efbbf1b45
children 50274819a754
files libpurple/blist.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }