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:
c349e1d
)
compositor: first destroy backend routines and then display
author
Tiago Vignatti
<tiago.vignatti@intel.com>
Sun, 18 Dec 2011 22:04:46 +0000
(
00:04
+0200)
committer
Tiago Vignatti
<tiago.vignatti@intel.com>
Sun, 18 Dec 2011 23:07:52 +0000
(
01:07
+0200)
I caught this when an evdev device fd was trying to trigger the main event
loop, which was already free'd and causing an invalid read.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
fc75689
..
a87c658
100644
(file)
--- a/
compositor/compositor.c
+++ b/
compositor/compositor.c
@@
-2092,9
+2092,9
@@
int main(int argc, char *argv[])
if (ec->has_bind_display)
ec->unbind_display(ec->display, display);
- wl_display_destroy(display);
ec->destroy(ec);
+ wl_display_destroy(display);
return 0;
}