diff -r 61543a0251d1 -r 98363f6cdc6c pidgin/gtkconv.c --- a/pidgin/gtkconv.c Tue Apr 24 17:00:51 2007 +0000 +++ b/pidgin/gtkconv.c Tue Apr 24 19:12:48 2007 +0000 @@ -6259,14 +6259,14 @@ loader = gdk_pixbuf_loader_new(); gdk_pixbuf_loader_write(loader, data, len, NULL); gdk_pixbuf_loader_close(loader, &err); + + purple_imgstore_unref(custom_img); + anim = gdk_pixbuf_loader_get_animation(loader); if (anim) g_object_ref(G_OBJECT(anim)); g_object_unref(loader); - // TODO: FIX THIS!!! - //purple_imgstore_unref(custom_img); - if (!anim) return; gtkconv->u.im->anim = anim;