diff options
| -rw-r--r-- | irc_user.c | 1 | ||||
| -rw-r--r-- | protocols/msn/msn.c | 2 | ||||
| -rw-r--r-- | protocols/msn/ns.c | 1 | ||||
| -rw-r--r-- | protocols/msn/soap.c | 1 | 
4 files changed, 5 insertions, 0 deletions
| @@ -156,6 +156,7 @@ int irc_user_set_nick( irc_user_t *iu, const char *new )  	if( iu->host == NULL ) iu->host = g_strdup( iu->nick );  	if( iu->fullname == NULL ) iu->fullname = g_strdup( iu->nick ); +	g_free( iu->key );  	iu->key = g_strdup( key );  	g_hash_table_insert( irc->nick_user_hash, iu->key, iu );  	irc->users = g_slist_insert_sorted( irc->users, iu, irc_user_cmp ); diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index 1584efa4..bcf54bfa 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -345,8 +345,10 @@ static void msn_buddy_data_add( bee_user_t *bu )  static void msn_buddy_data_free( bee_user_t *bu )  {  	struct msn_data *md = bu->ic->proto_data; +	struct msn_buddy_data *bd = bu->data;  	g_tree_remove( md->domaintree, bu->handle );  	g_free( bu->data ); +	g_free( bd->cid );  }  void msn_initmodule() diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index d64a71ac..3622efe0 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -827,6 +827,7 @@ static void msn_ns_send_adl( struct im_connection *ic )  	}  	adls = xt_to_string( adl ); +	xt_free_node( adl );  	msn_ns_write( ic, -1, "ADL %d %zd\r\n%s", ++md->trId, strlen( adls ), adls );  	g_free( adls );  } diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index 0ae6ebf6..e289de69 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -440,6 +440,7 @@ static int msn_soap_passport_sso_free_data( struct msn_soap_req_data *soap_req )  	g_free( sd->secret );  	g_free( sd->error );  	g_free( sd->redirect ); +	g_free( sd );  	return MSN_SOAP_OK;  } | 
