diff options
author | Giulio Camuffo <giuliocamuffo@gmail.com> | 2014-12-26 18:10:35 +0200 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-01-29 17:09:29 -0800 |
commit | 9e1aeb86c230296bdbdefe65cfc84e90a907840b (patch) | |
tree | 5401b324ac43932eafdcb60ce2ee5412e659d0b8 /desktop-shell/shell.c | |
parent | e82ba533e53190d596256724e1bf49042a839b67 (diff) | |
download | weston-9e1aeb86c230296bdbdefe65cfc84e90a907840b.tar.gz |
xwm: fix use after free
Calling wl_event_source_remove() will free the event source later, so
reset the pointer to avoid calling it two times on the same pointer.
Fix a compositor crash when copying some text from weston terminal,
pasting it in the same terminal and hitting ctrl-u, while a X client
is running.
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'desktop-shell/shell.c')
0 files changed, 0 insertions, 0 deletions