1 --- libgd-2.2.3/src/gd_topal.c.orig 2016-07-21 10:06:42.000000000 +0200
2 +++ libgd-2.2.3/src/gd_topal.c 2016-08-27 21:45:24.911652643 +0200
4 #ifdef HAVE_LIBIMAGEQUANT
5 if (oim->paletteQuantizationMethod == GD_QUANT_DEFAULT ||
6 oim->paletteQuantizationMethod == GD_QUANT_LIQ) {
7 - liq_attr *attr = liq_attr_create_with_allocator(gdMalloc, gdFree);
8 + liq_attr *attr = liq_attr_create(); // not passing gdMalloc/gdFree as allocators: they are just malloc/free, but liq requires 16-byte alignment