Zebediah Figura (@zfigura) commented about dlls/wined3d/device.c:
{ WARN("Failed to initialise allocator.\n"); context_release(context);
wined3d_context_gl_destroy(wined3d_context_gl(device->contexts[0]));
This (and the similar cleanup below) seems desirable but also probably deserves its own commit?