BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality)
{
	_gdImageWebpCtx(im, outfile, quality);
}
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.