this function leaked memory when the standard liq_image_create_rgba/liq_quantize_image/liq_write_remapped_image combo is used on large images (or forced to use conserved memory).
fixed by checking if the temporary array is already allocated by either liq_image_create_rgba and liq_write_remapped_image.
this function leaked memory when the standard
liq_image_create_rgba
/liq_quantize_image
/liq_write_remapped_image
combo is used on large images (or forced to use conserved memory).fixed by checking if the temporary array is already allocated by either
liq_image_create_rgba
andliq_write_remapped_image
.