summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorduerpei <duep.fnst@fujitsu.com>2022-02-23 09:36:48 +0800
committerduerpei <duep.fnst@fujitsu.com>2022-02-23 09:36:48 +0800
commitf24765124d3a539c84ecbfc530cd071fcff6a7a4 (patch)
tree7f35c8743b7bec531b19d19ac2b8fe1b8d171b07
parent9cc8100eef72bf1235c3b87430e4c2f6d396f128 (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.c1
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);
}