fix comment
parent
3c0d2203b2
commit
4af76c97a4
2
src/gd.c
2
src/gd.c
|
@ -3651,7 +3651,7 @@ BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src)
|
|||
return 1;
|
||||
|
||||
clean_on_error:
|
||||
/* free new palette buffer (y is not allocated) */
|
||||
/* free new true color buffer (y is not allocated, have failed) */
|
||||
for (yy = 0; yy < y; yy++) {
|
||||
gdFree(src->tpixels[yy]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue