diff options
Diffstat (limited to 'protocols/msn/ns.c')
| -rw-r--r-- | protocols/msn/ns.c | 7 | 
1 files changed, 2 insertions, 5 deletions
| diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 0011d7e7..0aab149d 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -180,6 +180,7 @@ static gboolean msn_ns_callback(gpointer data, gint source, b_input_condition co  	if (st <= 0) {  		imcb_error(ic, "Error while reading from server");  		imc_logout(ic, TRUE); +		g_free(bytes);  		return FALSE;  	} @@ -187,11 +188,7 @@ static gboolean msn_ns_callback(gpointer data, gint source, b_input_condition co  	g_free(bytes); -	/* Ignore ret == 0, it's already disconnected then. */ -	msn_handler(md); - -	return TRUE; -	 +	return msn_handler(md);  }  int msn_ns_command(struct msn_data *md, char **cmd, int num_parts) | 
