mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-06 20:55:00 +00:00
backend-wayland: Free pixel formats on shutdown
We allocated them, we should free them. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
04c29e6aae
commit
daac6fc91d
|
@ -2802,6 +2802,8 @@ wayland_destroy(struct weston_backend *backend)
|
|||
|
||||
wl_cursor_theme_destroy(b->cursor_theme);
|
||||
|
||||
free(b->formats);
|
||||
|
||||
wl_registry_destroy(b->parent.registry);
|
||||
wl_display_flush(b->parent.wl_display);
|
||||
wl_display_disconnect(b->parent.wl_display);
|
||||
|
|
Loading…
Reference in a new issue