mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
12 lines
339 B
Diff
12 lines
339 B
Diff
|
--- libwmf-0.2.8.4.orig/src/extra/gd/gd_clip.c
|
||
|
+++ libwmf-0.2.8.4/src/extra/gd/gd_clip.c
|
||
|
@@ -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++;
|
||
|
|