diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2015-02-03 11:05:10 -0600 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-02-06 17:31:24 -0800 |
commit | f10e06c77aee1c27e5f11f02e5ae6e1ae7fd36a5 (patch) | |
tree | aa2a9c10d0fb8d6ef10f137139cdcc19f852e2a3 | |
parent | 82cc25b986669abf0a516eac0db936c5cd1e916b (diff) | |
download | weston-f10e06c77aee1c27e5f11f02e5ae6e1ae7fd36a5.tar.gz |
xwm: remove the create surface listener in weston_wm_destroy
Failing to remove this can result in a crash when the signal is sent
after the window manager is destroyed.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-By: Giulio Camuffo <giuliocamuffo@gmail.com>
-rw-r--r-- | xwayland/window-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index 07c2ef30..ec3dab90 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -2229,6 +2229,7 @@ weston_wm_destroy(struct weston_wm *wm) wl_list_remove(&wm->activate_listener.link); wl_list_remove(&wm->kill_listener.link); wl_list_remove(&wm->transform_listener.link); + wl_list_remove(&wm->create_surface_listener.link); free(wm); } |