diff -r 86df0be4383a -r 911e85f207c7 pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Thu Oct 18 18:13:30 2007 +0000 +++ b/pidgin/gtkimhtml.c Thu Oct 18 20:20:57 2007 +0000 @@ -3131,9 +3131,10 @@ gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &i, sd->mark); if (gtk_text_iter_in_range(&i, start, end)) { - GtkIMHtmlScalable *scale = sd->scalable; + GtkIMHtmlScalable *scale = GTK_IMHTML_SCALABLE(sd->scalable); scale->free(scale); - imhtml->scalables = g_list_remove_link(imhtml->scalables, l); + g_free(sd); + imhtml->scalables = g_list_delete_link(imhtml->scalables, l); } l = next; }