mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
OMG, this line was really bogus (and allocating huge amounts of memory unecessarly)
This commit is contained in:
parent
e22c9cd775
commit
8815fdf5e0
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue