gdImageStringFT && gdFontCacheShutdown()
Issue #88
new
once gdImageStringFT( and other likely methods) is called, gdFontCacheShutdown() must be invoked before program finish, otherwise it will causes memory leak. it's better shown in libgd-2.x.x\tests\gdimagestringft\gdimagestringft_bbox.c
there is a bug in gd_tiff.c Line 516 for (mask = 0x80; mask != 0 && x < startx + width; mask >>= 1) { shoud be for (mask = 0x80; mask != 0 && x < startx + width; x++, mask >>= 1) {
gd_tiff.c Line 509 should be for (x = startx; x < startx + width; ) {//
Line 516 should be for (mask = 0x80; mask != 0 && x < startx + width; x++, mask >>= 1) {