comparison libpurple/protocols/jabber/auth.c @ 30167:9134be6baaef

jabber: --more leaks
author Paul Aurich <paul@darkrain42.org>
date Sun, 18 Apr 2010 20:12:32 +0000
parents 9f59abd49def
children 417a4e912738
comparison
equal deleted inserted replaced
30166:8217f783463e 30167:9134be6baaef
206 js->auth_mech = possible; 206 js->auth_mech = possible;
207 break; 207 break;
208 } 208 }
209 } 209 }
210 210
211 while (mechanisms) {
212 g_free(mechanisms->data);
213 mechanisms = g_slist_delete_link(mechanisms, mechanisms);
214 }
215
211 if (js->auth_mech == NULL) { 216 if (js->auth_mech == NULL) {
212 /* Found no good mechanisms... */ 217 /* Found no good mechanisms... */
213 purple_connection_error_reason(js->gc, 218 purple_connection_error_reason(js->gc,
214 PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE, 219 PURPLE_CONNECTION_ERROR_AUTHENTICATION_IMPOSSIBLE,
215 _("Server does not use any supported authentication method")); 220 _("Server does not use any supported authentication method"));