mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-07 00:50:20 +01:00
backend-drm: Don't leak drm_device on shutdown
This was introduced in a partial MR, where the later commits in the new multi-GPU MR fully fix it, but the initially cherry-picked ones don't. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
97f664815d
commit
01c57eca43
1 changed files with 1 additions and 0 deletions
|
|
@ -2681,6 +2681,7 @@ drm_destroy(struct weston_compositor *ec)
|
|||
weston_launcher_destroy(ec->launcher);
|
||||
|
||||
free(device->drm.filename);
|
||||
free(device);
|
||||
free(b);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue