diff options
author | duerpei <duep.fnst@fujitsu.com> | 2022-02-23 09:36:48 +0800 |
---|---|---|
committer | duerpei <duep.fnst@fujitsu.com> | 2022-02-23 09:36:48 +0800 |
commit | f24765124d3a539c84ecbfc530cd071fcff6a7a4 (patch) | |
tree | 7f35c8743b7bec531b19d19ac2b8fe1b8d171b07 | |
parent | 9cc8100eef72bf1235c3b87430e4c2f6d396f128 (diff) |
Fix potential memory leak
Bug-AGL:SPEC-4257
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I0effc97710d9bf93f5044e22400e9ff6699a4309
-rw-r--r-- | src/desktop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop.c b/src/desktop.c index a0cb2d2..74ce916 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -442,6 +442,7 @@ ivi_shell_destroy(struct wl_listener *listener, void *data) struct ivi_compositor *ivi = container_of(listener, struct ivi_compositor, destroy_listener); + weston_desktop_destroy(ivi->desktop); ivi_compositor_destroy_pending_surfaces(ivi); } |