aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 13eac23e..c8525db5 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -75,6 +75,8 @@ static void jabber_login( account_t *acc )
*jd->server = 0;
jd->server ++;
+ jd->node_cache = xt_new_node( "cache", NULL, NULL );
+
if( set_getbool( &acc->set, "ssl" ) )
{
signoff( gc );
@@ -102,6 +104,10 @@ static void jabber_close( struct gaim_connection *gc )
if( jd->fd >= 0 )
closesocket( jd->fd );
+ if( jd->tx_len )
+ g_free( jd->txq );
+
+ xt_free_node( jd->node_cache );
xt_free( jd->xt );
g_free( jd->username );