diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-16 08:04:19 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-16 08:04:19 -0400 |
commit | 88c1607fb734b885b8419004058242639898d2d1 (patch) | |
tree | 8eff65a401395cc918c59e0ca4d0eca40809842c | |
parent | 199fbb8081bc51c71db0171d904dc551ad0e2c1a (diff) |
shell: Remove lock/unlock listeners on shutdown
-rw-r--r-- | src/shell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c index a44074d..fc49d70 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2539,6 +2539,9 @@ shell_destroy(struct wl_listener *listener, void *data) if (shell->child.client) wl_client_destroy(shell->child.client); + wl_list_remove(&shell->lock_listener.link); + wl_list_remove(&shell->unlock_listener.link); + free(shell->screensaver.path); free(shell); } |