changeset 17540:eae7a411e3a1

Fix leakage.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 06 Jun 2007 03:21:04 +0000
parents fb096fc27b4e
children a62a695ccfb5
files libpurple/protocols/bonjour/buddy.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/buddy.c	Wed Jun 06 02:56:46 2007 +0000
+++ b/libpurple/protocols/bonjour/buddy.c	Wed Jun 06 03:21:04 2007 +0000
@@ -162,6 +162,8 @@
 bonjour_buddy_delete(BonjourBuddy *buddy)
 {
 	g_free(buddy->name);
+	g_free(buddy->ip);
+
 	g_free(buddy->first);
 	g_free(buddy->phsh);
 	g_free(buddy->status);
@@ -170,8 +172,11 @@
 	g_free(buddy->jid);
 	g_free(buddy->AIM);
 	g_free(buddy->vc);
-	g_free(buddy->ip);
 	g_free(buddy->msg);
+	g_free(buddy->ext);
+	g_free(buddy->nick);
+	g_free(buddy->node);
+	g_free(buddy->ver);
 
 	if (buddy->conversation != NULL)
 	{