Revert "d3d12: Fix screen->winsys leak in d3d12_screen"

This reverts commit 81c8e89ff8.

Fixes: 81c8e89ff8 ("d3d12: Fix screen->winsys leak in d3d12_screen")
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26872>
(cherry picked from commit e11605321a)
This commit is contained in:
Sil Vilerino 2024-01-03 09:23:02 -05:00 committed by Eric Engestrom
parent 2382dca2c5
commit 10b141aa89
2 changed files with 1 additions and 5 deletions

View file

@ -144,7 +144,7 @@
"description": "Revert \"d3d12: Fix screen->winsys leak in d3d12_screen\"",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "81c8e89ff8e846839fffc1d103b2080bef5c1b5c",
"notes": null

View file

@ -735,10 +735,6 @@ d3d12_deinit_screen(struct d3d12_screen *screen)
screen->dev->Release();
screen->dev = nullptr;
}
if (screen->winsys) {
screen->winsys->destroy(screen->winsys);
screen->winsys = nullptr;
}
}
void