Emil Velikov (@xexaxo) commented about dlls/winex11.drv/bitblt.c:
return ret;
}
+struct x11drv_image +{
- XImage *ximage; /* XImage used for X11 drawing */
- void *data; /* pixels allocated for XImage */
If it were me, I would make this a bool to indicate if we allocated it or not. Then reduce the pointer setting/scrubbing