[PATCH weston 1/3] libweston: Remove signals from the list during de-init

2018-08-07 Thread Harsha M M
During de-init ensure removal of added signals from list. Otherwise a dongling pointer is left behind which will affect other plugins. Signed-off-by: Harsha M M --- compositor/text-backend.c | 3 +++ compositor/weston-screenshooter.c | 2 ++ desktop-shell/shell.c | 1 + 3

[PATCH weston 3/3] ivi-shell: clean up remaining ivisurface during de-init

2018-08-07 Thread Harsha M M
Signed-off-by: Harsha M M --- ivi-shell/ivi-shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 58f53bc..92e8f17 100644 --- a/ivi-shell/ivi-shell.c +++ b/ivi-shell/ivi-shell.c @@ -366,6 +366,8 @@ shell_destroy(struct wl_listener

[PATCH weston 2/3] ivi-shell: Remove the compositor destory listener from list during de-init

2018-08-07 Thread Harsha M M
During de-init ensure removal of compositor destroy notification from list. Otherwise a dongling pointer is left behind which will affect other plugins. Signed-off-by: Harsha M M --- ivi-shell/ivi-shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell

[PATCH weston 0/3] Fix invalid memory access during de-init

2018-08-07 Thread Harsha M M
valgrind reports several invalid memory access during shutdown of weston. In general problem is with components which do not remove the signals added using wl_signal_emit, but free their memory. This patch series fixes invalid memory access during shutdown of weston Harsha M M (3): libweston