From 88c1607fb734b885b8419004058242639898d2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 16 May 2012 08:04:19 -0400 Subject: [PATCH] shell: Remove lock/unlock listeners on shutdown --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell.c b/src/shell.c index a44074d9..fc49d700 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); }