mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 10:38:07 +02:00
compositor-drm: free plane resources using drm function.
Free plane resources using drmModeFreePlaneResources() Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
This commit is contained in:
parent
fb2adba3da
commit
de4667351c
1 changed files with 1 additions and 2 deletions
|
|
@ -2005,8 +2005,7 @@ create_sprites(struct drm_compositor *ec)
|
|||
wl_list_insert(&ec->sprite_list, &sprite->link);
|
||||
}
|
||||
|
||||
free(plane_res->planes);
|
||||
free(plane_res);
|
||||
drmModeFreePlaneResources(plane_res);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue