projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199fbb8
)
shell: Remove lock/unlock listeners on shutdown
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 16 May 2012 12:04:19 +0000
(08:04 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 16 May 2012 12:04:19 +0000
(08:04 -0400)
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
a44074d
..
fc49d70
100644
(file)
--- 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);
}