fix comment

master
Remi Collet 2015-01-02 09:18:27 +01:00
parent 3c0d2203b2
commit 4af76c97a4
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}