File libwmf-0.2.8.4-bnc495842.patch of Package libwmf

Index: src/extra/gd/gd_clip.c
===================================================================
--- src/extra/gd/gd_clip.c.orig
+++ src/extra/gd/gd_clip.c
@@ -69,6 +69,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe
 	if (im->clip->count == im->clip->max)
 	{	more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
 		if (more == 0) return;
+		im->clip->list = more;
 		im->clip->max += 8;
                 im->clip->list = more;
 	}
openSUSE Build Service is sponsored by