Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Sun Apr 18 19:10:38 2010 +0000 +++ b/libpurple/protocols/jabber/auth.c Sun Apr 18 20:12:32 2010 +0000 @@ -208,6 +208,11 @@ } } + while (mechanisms) { + g_free(mechanisms->data); + mechanisms = g_slist_delete_link(mechanisms, mechanisms); + } + if (js->auth_mech == NULL) { /* Found no good mechanisms... */ purple_connection_error_reason(js->gc,