diff src/blist.c @ 10504:1a97d5e88d12

[gaim-migrate @ 11796] Lots of things here: - Several memory leak fixes - A few invalid memory access fixes - Fix a yahoo crash going idle when away - Fix Add user in chats to actually fill in the screenname - Add gaim_account_{get,set}_enabled to perl - Fix command priorities (fixes /me in IRC) - Fix MSN notification server transfer to be quiet about it - Fix MSN blist sync if user has insane friendly name - Make the docklet less crash-happy if it fails to embed in 3 seconds - Only probe for native plugins with the correct file extension - 1 typo fix :) ... and quite possibly something else I forgot. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 11 Jan 2005 17:25:06 +0000
parents 94fd0bf8c4b1
children 1596ade00664
line wrap: on
line diff
--- a/src/blist.c	Tue Jan 11 02:00:44 2005 +0000
+++ b/src/blist.c	Tue Jan 11 17:25:06 2005 +0000
@@ -1686,6 +1686,7 @@
 			ops->remove(gaimbuddylist, node);
 
 		/* Delete the node */
+		g_hash_table_destroy(contact->node.settings);
 		g_free(contact);
 	}
 }
@@ -1757,6 +1758,7 @@
 	gaim_presence_destroy(buddy->presence);
 	g_free(buddy->name);
 	g_free(buddy->alias);
+	g_free(buddy->server_alias);
 	g_free(buddy);
 
 	/* If the contact is empty then remove it */
@@ -1799,6 +1801,7 @@
 
 	/* Delete the node */
 	g_hash_table_destroy(chat->components);
+	g_hash_table_destroy(chat->node.settings);
 	g_free(chat->alias);
 	g_free(chat);
 }
@@ -1860,6 +1863,7 @@
 	}
 
 	/* Delete the node */
+	g_hash_table_destroy(group->node.settings);
 	g_free(group->name);
 	g_free(group);
 }