projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d2046e
)
text-backend: remove the weston_seat destruction listener on destroy
author
Rob Bradford
<rob@linux.intel.com>
Wed, 24 Jul 2013 15:57:32 +0000
(16:57 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 29 Jul 2013 23:36:58 +0000
(16:36 -0700)
Prior to freeing the memory in which the link node for the signal is
emedded we should remove the link node from the list to prevent the list
from being corrupted.
https://bugs.freedesktop.org/show_bug.cgi?id=67231
src/text-backend.c
patch
|
blob
|
history
diff --git
a/src/text-backend.c
b/src/text-backend.c
index
3a1d68c
..
6c7430c
100644
(file)
--- a/
src/text-backend.c
+++ b/
src/text-backend.c
@@
-792,6
+792,7
@@
input_method_notifier_destroy(struct wl_listener *listener, void *data)
deactivate_text_input(input_method->model, input_method);
wl_global_destroy(input_method->input_method_global);
+ wl_list_remove(&input_method->destroy_listener.link);
free(input_method);
}