BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out)
{
	_gdImageWBMPCtx(image, fg, out);
}
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.