mirror of
https://github.com/php/php-src.git
synced 2026-03-29 19:52:20 +02:00
OMG, this line was really bogus (and allocating huge amounts of memory unecessarly)
This commit is contained in:
@@ -2014,7 +2014,7 @@ void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc)
|
||||
tiled = nc==gdTiled;
|
||||
|
||||
nc = gdImageTileGet(im,x,y);
|
||||
pts = (char **) ecalloc(sizeof(char *) * im->sy, sizeof(char));
|
||||
pts = (char **) ecalloc(im->sy, sizeof(char*));
|
||||
|
||||
for (i=0; i<im->sy;i++) {
|
||||
pts[i] = (char *) ecalloc(im->sx, sizeof(char));
|
||||
|
||||
Reference in New Issue
Block a user