projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7942fd
)
need to close fd of tdm_helper_get_fd
36/65536/1
author
Boram Park
<boram1288.park@samsung.com>
Fri, 8 Apr 2016 09:24:11 +0000
(18:24 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Mon, 11 Apr 2016 10:33:10 +0000
(19:33 +0900)
Change-Id: I5c06586ae3e07c84187137b4294a74a0505b0ca1
src/tdm.c
patch
|
blob
|
history
diff --git
a/src/tdm.c
b/src/tdm.c
index
ff7d85f
..
e54c7a7
100644
(file)
--- a/
src/tdm.c
+++ b/
src/tdm.c
@@
-795,6
+795,7
@@
tdm_display_init(tdm_error *error)
int tdm_drm_fd = tdm_helper_get_fd("TDM_DRM_MASTER_FD");
if (tdm_drm_fd >= 0) {
private_display->bufmgr = tbm_bufmgr_init(tdm_drm_fd);
+ close(tdm_drm_fd);
if (!private_display->bufmgr) {
TDM_ERR("tbm_bufmgr_init failed");
goto failed_update;