1 --- gtk+-2.6.4/gdk-pixbuf/io-gif.c 2004-11-12 07:34:31.000000000 +0200
2 +++ gtk+-2.6.4/gdk-pixbuf/io-gif.c 2005-04-06 16:19:35.597126776 +0300
5 gdk_pixbuf_gif_anim_frame_composite (context->animation, prev_frame);
7 + /* Composite failed */
8 + if (prev_frame->composited == NULL) {
9 + GdkPixbufFrame *frame = NULL;
10 + link = g_list_first (context->animation->frames);
11 + while (link != NULL) {
12 + frame = (GdkPixbufFrame *)link->data;
13 + if (frame != NULL) {
14 + if (frame->pixbuf != NULL)
15 + g_object_unref (frame->pixbuf);
16 + if (frame->composited != NULL)
17 + g_object_unref (frame->composited);
18 + if (frame->revert != NULL)
19 + g_object_unref (frame->revert);
25 + g_list_free (context->animation->frames);
26 + context->animation->frames = NULL;
28 + g_set_error (context->error,
30 + GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
31 + _("Not enough memory to composite a frame in GIF file"));
35 x = context->frame->x_offset;
36 y = context->frame->y_offset;
37 w = gdk_pixbuf_get_width (context->frame->pixbuf);