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:
a02d154
)
drm: close the drm file descriptor when the compositor is destroyed
author
Rob Bradford
<rob@linux.intel.com>
Fri, 26 Jul 2013 15:29:35 +0000
(16:29 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 30 Jul 2013 18:02:56 +0000
(11:02 -0700)
src/compositor-drm.c
patch
|
blob
|
history
diff --git
a/src/compositor-drm.c
b/src/compositor-drm.c
index
5a5d79c
..
cf626ba
100644
(file)
--- a/
src/compositor-drm.c
+++ b/
src/compositor-drm.c
@@
-2260,6
+2260,8
@@
drm_destroy(struct weston_compositor *ec)
weston_log("failed to drop master: %m\n");
tty_destroy(d->tty);
+ close(d->drm.fd);
+
free(d);
}