# HG changeset patch # User Andreas Monitzer # Date 1182170896 0 # Node ID b748e602c951b85393cf62a009252ea479761ed4 # Parent 759cd72bd2ffeee8923d10a1c5f0cc6c61f9a9e4 fixed a bug in the status change tracking code diff -r 759cd72bd2ff -r b748e602c951 libpurple/protocols/jabber/presence.c --- a/libpurple/protocols/jabber/presence.c Mon Jun 18 12:37:29 2007 +0000 +++ b/libpurple/protocols/jabber/presence.c Mon Jun 18 12:48:16 2007 +0000 @@ -127,7 +127,6 @@ if (js->old_state != state || CHANGED(js->old_msg, stripped) || js->old_priority != priority || CHANGED(js->old_avatarhash, js->avatar_hash)) { presence = jabber_presence_create_js(js, state, stripped, priority); - g_free(stripped); if(js->avatar_hash) { x = xmlnode_new_child(presence, "x"); @@ -151,6 +150,7 @@ js->old_avatarhash = g_strdup(js->avatar_hash); js->old_state = state; js->old_priority = priority; + g_free(stripped); } /* next, check if there are any changes to the tune values */