From: Kristian Høgsberg Date: Wed, 16 May 2012 12:04:19 +0000 (-0400) Subject: shell: Remove lock/unlock listeners on shutdown X-Git-Tag: 20120702.1049~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88c1607fb734b885b8419004058242639898d2d1;p=profile%2Fivi%2Fweston.git shell: Remove lock/unlock listeners on shutdown --- 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); }