diff -r b7275fef68de -r 0d61de90ae02 libpurple/protocols/jabber/google.c --- a/libpurple/protocols/jabber/google.c Sun Apr 12 21:53:41 2009 +0000 +++ b/libpurple/protocols/jabber/google.c Sun Apr 12 22:23:34 2009 +0000 @@ -1156,7 +1156,12 @@ } } - g_slist_free(hosts); + while (hosts != NULL) { + hosts = g_slist_delete_link(hosts, hosts); + /* Free the address */ + g_free(hosts->data); + hosts = g_slist_delete_link(hosts, hosts); + } } static void