mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-24 09:06:39 -04:00
Fix memory leak in drm.c
This commit is contained in:
parent
6214144735
commit
3cae2a2c01
1 changed files with 1 additions and 0 deletions
|
|
@ -398,6 +398,7 @@ void finish_drm_resources(struct wlr_drm_backend *drm) {
|
||||||
struct wlr_drm_plane *plane = &drm->planes[i];
|
struct wlr_drm_plane *plane = &drm->planes[i];
|
||||||
drm_plane_finish_surface(plane);
|
drm_plane_finish_surface(plane);
|
||||||
wlr_drm_format_set_finish(&plane->formats);
|
wlr_drm_format_set_finish(&plane->formats);
|
||||||
|
free(plane->cursor_sizes);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(drm->planes);
|
free(drm->planes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue