diff libpurple/protocols/bonjour/buddy.c @ 17778:eae7a411e3a1

Fix leakage.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 06 Jun 2007 03:21:04 +0000
parents c921f901c7ea
children 612dc5149964
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)
 	{