aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/jabber/jabber_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/jabber_util.c b/protocols/jabber/jabber_util.c
index d181b904..4a71567a 100644
--- a/protocols/jabber/jabber_util.c
+++ b/protocols/jabber/jabber_util.c
@@ -675,6 +675,8 @@ static gboolean jabber_buddy_remove_all_cb( gpointer key, gpointer value, gpoint
struct jabber_buddy *bud, *next;
bud = value;
+ if( bud->bare_jid != bud->full_jid )
+ g_free( bud->bare_jid );
while( bud )
{
next = bud->next;