Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26456>
(cherry picked from commit
81c8e89ff8e846839fffc1d103b2080bef5c1b5c)
"description": "d3d12: Fix screen->winsys leak in d3d12_screen",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null
screen->dev->Release();
screen->dev = nullptr;
}
+ if (screen->winsys) {
+ screen->winsys->destroy(screen->winsys);
+ screen->winsys = nullptr;
+ }
}
void