Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/texture.c:
stride = (width * get_bpp_from_format(img_info.Format) + 7) / 8; frame_size = stride * height;
- if (!(buffer = malloc(frame_size)))
- if(!(res_data = malloc(sizeof(**resource_data) + frame_size)))
Whitespace.