File libwmf-0.2.8.4-bnc495842.patch of Package libwmf

--- src/extra/gd/gd_clip.c
+++ src/extra/gd/gd_clip.c
@@ -69,6 +69,7 @@
 	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[im->clip->count] = (*rect);
openSUSE Build Service is sponsored by