--- src/extra/gd/gd_clip.c.old 2001-03-28 11:37:29.000000000 +0200 +++ src/extra/gd/gd_clip.c 2009-05-01 10:02:04.000000000 +0200 @@ -70,6 +70,7 @@ { more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle)); if (more == 0) return; im->clip->max += 8; + im->clip->list = more; } im->clip->list[im->clip->count] = (*rect); im->clip->count++;