diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index de868218..c17b53c5 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -2668,6 +2668,7 @@ weston_wm_destroy(struct weston_wm *wm) /* FIXME: Free windows in hash. */ hash_table_destroy(wm->window_hash); weston_wm_destroy_cursors(wm); + theme_destroy(wm->theme); xcb_disconnect(wm->conn); wl_event_source_remove(wm->source); wl_list_remove(&wm->selection_listener.link);