Signed-off-by: Matteo Bruni mbruni@codeweavers.com --- v2: Don't call adapter_no3d_destroy() from wined3d_adapter_no3d_create().
dlls/wined3d/directx.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 533d99f026f0..e797f2188810 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2991,6 +2991,7 @@ static struct wined3d_adapter *wined3d_adapter_no3d_create(unsigned int ordinal,
if (!wined3d_adapter_no3d_init_format_info(adapter)) { + wined3d_adapter_cleanup(adapter); heap_free(adapter); return NULL; }